From 63f2a30a6524dc80e8d65ff08391286c42f5ff93 Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Mon, 11 Oct 2010 18:02:00 +0000 Subject: Silence float->int compiler warnings on Snow Leopard. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7714 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/fl_cursor.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fl_cursor.cxx b/src/fl_cursor.cxx index b1d5c3e87..609f91eef 100644 --- a/src/fl_cursor.cxx +++ b/src/fl_cursor.cxx @@ -176,7 +176,7 @@ CGContextRef CreateWatchImage(void) fl_color(FL_WHITE); fl_circle(0, 0, r+1); fl_color(FL_BLACK); - fl_rectf(-r*0.7, -r*1.7, 1.4*r, 3.4*r); + fl_rectf(int(-r*0.7), int(-r*1.7), int(1.4*r), int(3.4*r)); fl_rectf(r-1, -1, 3, 3); fl_color(FL_WHITE); fl_pie(-r, -r, 2*r, 2*r, 0, 360); -- cgit v1.2.3