diff options
author | nyamatongwe <devnull@localhost> | 2000-04-07 12:04:36 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2000-04-07 12:04:36 +0000 |
commit | 9785733416ef26d325802b81692f6fdc3506be55 (patch) | |
tree | 337dc33f1d022c7a460caf1e607bac12fe6e7b61 /src/DocumentAccessor.cxx | |
parent | 8cb3d80031a74c832b8a006562a9ef010f2cbe5e (diff) | |
download | scintilla-mirror-9785733416ef26d325802b81692f6fdc3506be55.tar.gz |
Changing code to ensure no warnings are produced by compilers.
Diffstat (limited to 'src/DocumentAccessor.cxx')
-rw-r--r-- | src/DocumentAccessor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DocumentAccessor.cxx b/src/DocumentAccessor.cxx index e6eb1d935..d28840c16 100644 --- a/src/DocumentAccessor.cxx +++ b/src/DocumentAccessor.cxx @@ -101,7 +101,7 @@ void DocumentAccessor::ColourTo(unsigned int pos, int chAttr) { Flush(); if (validLen + (pos - startSeg + 1) >= bufferSize) { // Too big for buffer so send directly - pdoc->SetStyleFor(pos - startSeg + 1, chAttr); + pdoc->SetStyleFor(pos - startSeg + 1, static_cast<char>(chAttr)); } else { if (chAttr != chWhile) chFlags = 0; |