aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CallTip.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/CallTip.cxx
parent27e9dd738c874dacb3bc96736b855fcd9b3a7b78 (diff)
downloadscintilla-mirror-112c4b6bb39e1069ae2ec7bb2f55a49939005957.tar.gz
Compatibility with 64 bit systems.
Diffstat (limited to 'src/CallTip.cxx')
-rw-r--r--src/CallTip.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CallTip.cxx b/src/CallTip.cxx
index 4b4ae0c7c..d67173b08 100644
--- a/src/CallTip.cxx
+++ b/src/CallTip.cxx
@@ -148,7 +148,7 @@ PRectangle CallTip::CallTipStart(int pos, Point pt, const char *defn,
look = newline + 1;
numLines++;
}
- int lastWidth = surfaceMeasure->WidthText(font, look, strlen(look));
+ int lastWidth = surfaceMeasure->WidthText(font, look, static_cast<int>(strlen(look)));
width = Platform::Maximum(width, lastWidth) + 10;
int lineHeight = surfaceMeasure->Height(font);
// Extra line for border and an empty line at top and bottom