diff options
author | nyamatongwe <devnull@localhost> | 2011-08-05 08:49:58 +1000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2011-08-05 08:49:58 +1000 |
commit | 2f2178bcdfed0084e1bade4b8d4bf561bc387537 (patch) | |
tree | 1fa673cf633906bfcefbb6029f1aa30e8e0d60b6 /lexers/LexModula.cxx | |
parent | 89abf7e07d2c7353a397f34cab63571271bc1888 (diff) | |
download | scintilla-mirror-2f2178bcdfed0084e1bade4b8d4bf561bc387537.tar.gz |
Use casts to squash 64-bit warnings from strlen return value.
Diffstat (limited to 'lexers/LexModula.cxx')
-rw-r--r-- | lexers/LexModula.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lexers/LexModula.cxx b/lexers/LexModula.cxx index 1d0361165..cc5847fd6 100644 --- a/lexers/LexModula.cxx +++ b/lexers/LexModula.cxx @@ -92,7 +92,7 @@ static inline bool checkStatement( Accessor &styler, int &curPos, const char *stt, bool spaceAfter = true ) { - int len = strlen( stt ); + int len = static_cast<int>(strlen( stt )); int i; for( i = 0; i < len; i++ ) { if( styler.SafeGetCharAt( curPos + i ) != stt[i] ) { @@ -113,7 +113,7 @@ static inline bool checkEndSemicolon( int &curPos, int endPos ) { const char *stt = "END"; - int len = strlen( stt ); + int len = static_cast<int>(strlen( stt )); int i; for( i = 0; i < len; i++ ) { if( styler.SafeGetCharAt( curPos + i ) != stt[i] ) { |