summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2010-04-14 13:21:10 +0000
committerManolo Gouy <Manolo>2010-04-14 13:21:10 +0000
commitf4a08a367239178a1768b46927e2d96016ebc127 (patch)
treecd0d13338949aefc527e9c5fa518ab28e10cdd5f
parentbe9127c61aa32f95eb47bc7b1d586623914ee036 (diff)
Removed compilation warning
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7502 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-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 0517ab747..36a4e5cb7 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;