diff options
author | Neil <nyamatongwe@gmail.com> | 2014-04-29 11:54:46 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2014-04-29 11:54:46 +1000 |
commit | 7005b0bbc01565d1dd756ce87337542f52db8b07 (patch) | |
tree | bf0ec8fdf590e7f413a3c828ddc419131c4c27a4 /src/Editor.cxx | |
parent | 113ece7951c99dda488b0c19683b0e019d8a0cf9 (diff) | |
download | scintilla-mirror-7005b0bbc01565d1dd756ce87337542f52db8b07.tar.gz |
Fix some warnings instead of relying upon #pragma to hide them
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r-- | src/Editor.cxx | 2 |
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); } |