aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/PropSet.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2002-06-09 02:58:47 +0000
committernyamatongwe <devnull@localhost>2002-06-09 02:58:47 +0000
commit112c4b6bb39e1069ae2ec7bb2f55a49939005957 (patch)
tree7b0416e002a76253ad5b11abe3194edc06bd4061 /src/PropSet.cxx
parent27e9dd738c874dacb3bc96736b855fcd9b3a7b78 (diff)
downloadscintilla-mirror-112c4b6bb39e1069ae2ec7bb2f55a49939005957.tar.gz
Compatibility with 64 bit systems.
Diffstat (limited to 'src/PropSet.cxx')
-rw-r--r--src/PropSet.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PropSet.cxx b/src/PropSet.cxx
index fe80c1210..296799691 100644
--- a/src/PropSet.cxx
+++ b/src/PropSet.cxx
@@ -228,7 +228,7 @@ static bool IsSuffixCaseInsensitive(const char *target, const char *suffix) {
size_t lensuffix = strlen(suffix);
if (lensuffix > lentarget)
return false;
- for (int i = lensuffix - 1; i >= 0; i--) {
+ for (int i = static_cast<int>(lensuffix) - 1; i >= 0; i--) {
if (MakeUpperCase(target[i + lentarget - lensuffix]) !=
MakeUpperCase(suffix[i]))
return false;