Author: greg.ercolano
Date: 2010-10-28 16:08:06 -0700 (Thu, 28 Oct 2010)
New Revision: 7768
Log:
Applied patch from STR#2428 to fix warnings on OSX/Tiger for fl_rect.cxx.



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

Modified: branches/branch-1.3/src/fl_rect.cxx
===================================================================
--- branches/branch-1.3/src/fl_rect.cxx 2010-10-28 21:47:01 UTC (rev 7767)
+++ branches/branch-1.3/src/fl_rect.cxx 2010-10-28 23:08:06 UTC (rev 7768)
@@ -597,10 +597,10 @@
       else u = CGRectUnion(u, test);
     }
   }
-  X = u.origin.x;
-  Y = u.origin.y;
-  W = u.size.width + 1;
-  H = u.size.height + 1;
+  X = int(u.origin.x);
+  Y = int(u.origin.y);
+  W = int(u.size.width + 1);
+  H = int(u.size.height + 1);
   if(CGRectIsEmpty(u)) W = H = 0;
   return ! CGRectEqualToRect(arg, u);
 #else

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

Reply via email to