aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2014-04-29 11:54:46 +1000
committerNeil <nyamatongwe@gmail.com>2014-04-29 11:54:46 +1000
commit7005b0bbc01565d1dd756ce87337542f52db8b07 (patch)
treebf0ec8fdf590e7f413a3c828ddc419131c4c27a4 /src
parent113ece7951c99dda488b0c19683b0e019d8a0cf9 (diff)
downloadscintilla-mirror-7005b0bbc01565d1dd756ce87337542f52db8b07.tar.gz
Fix some warnings instead of relying upon #pragma to hide them
Diffstat (limited to 'src')
-rw-r--r--src/Editor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index 1b51f7426..2ad5f5863 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -7306,7 +7306,7 @@ void Editor::AddStyledText(char *buffer, int appendLength) {
for (i = 0; i < textLength; i++) {
text[i] = buffer[i*2+1];
}
- pdoc->StartStyling(CurrentPosition(), static_cast<char>(0xff));
+ pdoc->StartStyling(CurrentPosition(), static_cast<unsigned char>(0xff));
pdoc->SetStyles(textLength, text.c_str());
SetEmptySelection(sel.MainCaret() + lengthInserted);
}