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
This commit is contained in:
Greg Ercolano 2010-10-11 18:02:00 +00:00
parent e778cc3351
commit 63f2a30a65
1 changed files with 1 additions and 1 deletions

View File

@ -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);