aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexVHDL.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2011-08-05 08:49:58 +1000
committernyamatongwe <devnull@localhost>2011-08-05 08:49:58 +1000
commit2f2178bcdfed0084e1bade4b8d4bf561bc387537 (patch)
tree1fa673cf633906bfcefbb6029f1aa30e8e0d60b6 /lexers/LexVHDL.cxx
parent89abf7e07d2c7353a397f34cab63571271bc1888 (diff)
downloadscintilla-mirror-2f2178bcdfed0084e1bade4b8d4bf561bc387537.tar.gz
Use casts to squash 64-bit warnings from strlen return value.
Diffstat (limited to 'lexers/LexVHDL.cxx')
-rw-r--r--lexers/LexVHDL.cxx2
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);