diff options
author | nyamatongwe <devnull@localhost> | 2002-06-09 02:54:35 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2002-06-09 02:54:35 +0000 |
commit | d447f6269cb4be95dce715197bf9ee101350a7db (patch) | |
tree | 55539c95dfc666ebd7fc558155d6d90f89518d31 /win32/ExternalLexer.cxx | |
parent | 44c64ebc7da4aa9ac04cfdeebc881c20c13ebf11 (diff) | |
download | scintilla-mirror-d447f6269cb4be95dce715197bf9ee101350a7db.tar.gz |
Avoid type size warnings.
Diffstat (limited to 'win32/ExternalLexer.cxx')
-rw-r--r-- | win32/ExternalLexer.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/win32/ExternalLexer.cxx b/win32/ExternalLexer.cxx index 593bb315a..41cc812bc 100644 --- a/win32/ExternalLexer.cxx +++ b/win32/ExternalLexer.cxx @@ -195,9 +195,8 @@ void LexerLibrary::Release() { //------------------------------------------ int FindLastSlash(char *inp) { - int i; int ret = -1; - for (i = strlen(inp) - 1; i >= 0; i--) { + for (int i = static_cast<int>(strlen(inp)) - 1; i >= 0; i--) { if (inp[i] == '\\' || inp[i] == '/') { // if you don't like break: /* |