diff options
author | Neil <nyamatongwe@gmail.com> | 2023-11-19 08:57:07 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2023-11-19 08:57:07 +1100 |
commit | 12da4cfbd4a6edfdc7a4ad129bb8c9975059d254 (patch) | |
tree | 34fa94a8569c8cda2e29c8ceca63fe10b9db40d3 /src | |
parent | d533d08a0a30a7527dd8fa0c4df5c10d8bfd80e7 (diff) | |
download | scintilla-mirror-12da4cfbd4a6edfdc7a4ad129bb8c9975059d254.tar.gz |
Fix type conversion warning.
Diffstat (limited to 'src')
-rw-r--r-- | src/CellBuffer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CellBuffer.cxx b/src/CellBuffer.cxx index 4b061db40..c90e5a337 100644 --- a/src/CellBuffer.cxx +++ b/src/CellBuffer.cxx @@ -646,7 +646,7 @@ void CellBuffer::GetCharRange(char *buffer, Sci::Position position, Sci::Positio } char CellBuffer::StyleAt(Sci::Position position) const noexcept { - return hasStyles ? style.ValueAt(position) : 0; + return hasStyles ? style.ValueAt(position) : '\0'; } void CellBuffer::GetStyleRange(unsigned char *buffer, Sci::Position position, Sci::Position lengthRetrieve) const { |