diff options
author | Neil Hodgson <nyamatongwe@gmail.com> | 2016-09-14 15:06:13 +1000 |
---|---|---|
committer | Neil Hodgson <nyamatongwe@gmail.com> | 2016-09-14 15:06:13 +1000 |
commit | 427f3dabfedb6f9b66c15d93a013b9beaf089e37 (patch) | |
tree | eda7a1c73570b20202a46081707d1fe9949a475a /lexers/LexYAML.cxx | |
parent | 5ca7dd65bb30f05ad8aa6bfd269d812e766930da (diff) | |
download | scintilla-mirror-427f3dabfedb6f9b66c15d93a013b9beaf089e37.tar.gz |
Casts for 64 to 32-bit conversions on OS X.
Diffstat (limited to 'lexers/LexYAML.cxx')
-rw-r--r-- | lexers/LexYAML.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lexers/LexYAML.cxx b/lexers/LexYAML.cxx index 5cd348f46..5f94215d1 100644 --- a/lexers/LexYAML.cxx +++ b/lexers/LexYAML.cxx @@ -46,7 +46,7 @@ static unsigned int SpaceCount(char* lineBuffer) { while (*headBuffer == ' ') headBuffer++; - return headBuffer - lineBuffer; + return static_cast<unsigned int>(headBuffer - lineBuffer); } #define YAML_STATE_BITSIZE 16 |