diff options
author | nyamatongwe <unknown> | 2011-08-05 08:49:58 +1000 |
---|---|---|
committer | nyamatongwe <unknown> | 2011-08-05 08:49:58 +1000 |
commit | c9c71dec593d8a8f52818ead276d91aeb4d191df (patch) | |
tree | 3a0f19c55dd0cb0ad32da0af8f1ae1bb2d26117f /lexers/LexVHDL.cxx | |
parent | f13c4e804a0e2a832466d42fb3cf0a5852bf67f6 (diff) | |
download | scintilla-mirror-c9c71dec593d8a8f52818ead276d91aeb4d191df.tar.gz |
Use casts to squash 64-bit warnings from strlen return value.
Diffstat (limited to 'lexers/LexVHDL.cxx')
-rw-r--r-- | lexers/LexVHDL.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lexers/LexVHDL.cxx b/lexers/LexVHDL.cxx index 58bcd1a5a..5580b3c5e 100644 --- a/lexers/LexVHDL.cxx +++ b/lexers/LexVHDL.cxx @@ -235,7 +235,7 @@ static void FoldNoBoxVHDLDoc( } } } - for(j=j+strlen(prevWord); j<endPos; j++) + for(j=j+static_cast<unsigned int>(strlen(prevWord)); j<endPos; j++) { char ch = styler.SafeGetCharAt(j); int style = styler.StyleAt(j); |