diff --git a/src/fl_draw.cxx b/src/fl_draw.cxx index 0517ab747aa8405d841596a14df1c05a4f3ba69a..36a4e5cb7e1bd6fac97da6d26de0170b3cc1e38e 100644 --- a/src/fl_draw.cxx +++ b/src/fl_draw.cxx @@ -234,7 +234,7 @@ void fl_draw( for (p = str, lines=0; p;) { e = fl_expand_text(p, buf, MAXBUF, w - symtotal, buflen, width, align&FL_ALIGN_WRAP, draw_symbols); - if (strw<width) strw = width; + if (strw<width) strw = (int)width; lines++; if (!*e || (*e == '@' && e[1] != '@' && draw_symbols)) break; p = e;