From 112c4b6bb39e1069ae2ec7bb2f55a49939005957 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 9 Jun 2002 02:58:47 +0000 Subject: Compatibility with 64 bit systems. --- src/CallTip.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/CallTip.cxx') 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(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 -- cgit v1.2.3