diff options
| author | Greg Ercolano <erco@seriss.com> | 2010-10-11 18:02:00 +0000 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2010-10-11 18:02:00 +0000 |
| commit | 63f2a30a6524dc80e8d65ff08391286c42f5ff93 (patch) | |
| tree | 6607a27fccec5286109d90d5c5359d29685e748e /src/fl_cursor.cxx | |
| parent | e778cc3351883730783dedc191ae757ccd1f6be5 (diff) | |
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
Diffstat (limited to 'src/fl_cursor.cxx')
| -rw-r--r-- | src/fl_cursor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
