summaryrefslogtreecommitdiff
path: root/src/fl_cursor.cxx
diff options
context:
space:
mode:
authorGreg Ercolano <erco@seriss.com>2010-11-15 04:49:46 +0000
committerGreg Ercolano <erco@seriss.com>2010-11-15 04:49:46 +0000
commit7b9a2e88ad59b4955c46065df480ac70353088ae (patch)
treec593003778a3d3779a8f0379cd3e40a6c2351a39 /src/fl_cursor.cxx
parent1c06cb428359629b485a1dedf77474db9fb3fa69 (diff)
Solves STR #2428: Silence float->int conversion warnings
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7836 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/fl_cursor.cxx')
-rw-r--r--src/fl_cursor.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fl_cursor.cxx b/src/fl_cursor.cxx
index 609f91eef..7dcad6eb3 100644
--- a/src/fl_cursor.cxx
+++ b/src/fl_cursor.cxx
@@ -182,8 +182,8 @@ CGContextRef CreateWatchImage(void)
fl_pie(-r, -r, 2*r, 2*r, 0, 360);
fl_color(FL_BLACK);
fl_circle(0,0,r);
- fl_xyline(0, 0, -r*.7);
- fl_xyline(0, 0, 0, -r*.7);
+ fl_xyline(0, 0, int(-r*.7));
+ fl_xyline(0, 0, 0, int(-r*.7));
fl_end_offscreen();
return (CGContextRef)off;
}