From 7b9a2e88ad59b4955c46065df480ac70353088ae Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Mon, 15 Nov 2010 04:49:46 +0000 Subject: 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 --- src/fl_cursor.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/fl_cursor.cxx') 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; } -- cgit v1.2.3