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 | ca404c02432f1ab90f235eb452168d35e6f14936 (patch) | |
tree | e71de804085c2607800bfd88031ed474f06652d9 /src | |
parent | b358909987be5f7c92e990939e7a2a5f0dafdb3a (diff) | |
download | scintilla-mirror-ca404c02432f1ab90f235eb452168d35e6f14936.tar.gz |
Fix some warnings instead of relying upon #pragma to hide them
Diffstat (limited to 'src')
-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); } |