aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2002-06-09 02:54:35 +0000
committernyamatongwe <devnull@localhost>2002-06-09 02:54:35 +0000
commitd447f6269cb4be95dce715197bf9ee101350a7db (patch)
tree55539c95dfc666ebd7fc558155d6d90f89518d31
parent44c64ebc7da4aa9ac04cfdeebc881c20c13ebf11 (diff)
downloadscintilla-mirror-d447f6269cb4be95dce715197bf9ee101350a7db.tar.gz
Avoid type size warnings.
-rw-r--r--win32/ExternalLexer.cxx3
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:
/*