Author: greg.ercolano
Date: 2010-10-11 11:02:00 -0700 (Mon, 11 Oct 2010)
New Revision: 7714
Log:
Silence float->int compiler warnings on Snow Leopard.



Modified:
   branches/branch-1.3/src/fl_cursor.cxx

Modified: branches/branch-1.3/src/fl_cursor.cxx
===================================================================
--- branches/branch-1.3/src/fl_cursor.cxx       2010-10-11 01:49:20 UTC (rev 
7713)
+++ branches/branch-1.3/src/fl_cursor.cxx       2010-10-11 18:02:00 UTC (rev 
7714)
@@ -176,7 +176,7 @@
   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);

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to