summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fl_draw.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fl_draw.cxx b/src/fl_draw.cxx
index 2daaab077..637744c4f 100644
--- a/src/fl_draw.cxx
+++ b/src/fl_draw.cxx
@@ -310,7 +310,7 @@ void fl_measure(const char* str, int& w, int& h, int draw_symbols) {
for (p = str, lines=0; p;) {
e = expand(p, buf, w - symtotal, buflen, width, w != 0, draw_symbols);
- if (int(ceil(width)) > W) W = int(ceil(width));
+ if ((int)ceil(width) > W) W = (int)ceil(width);
lines++;
if (!*e || (*e == '@' && draw_symbols)) break;
p = e;