Author: toshok
Date: 2007-11-21 13:04:03 -0500 (Wed, 21 Nov 2007)
New Revision: 90099

Modified:
   trunk/moon/src/ChangeLog
   trunk/moon/src/runtime.cpp
Log:
2007-11-21  Chris Toshok  <[EMAIL PROTECTED]>

        * runtime.cpp (Surface::Invalidate): add the int case around the
        complete expression to quiet gcc.



Modified: trunk/moon/src/ChangeLog
===================================================================
--- trunk/moon/src/ChangeLog    2007-11-21 17:55:45 UTC (rev 90098)
+++ trunk/moon/src/ChangeLog    2007-11-21 18:04:03 UTC (rev 90099)
@@ -1,3 +1,8 @@
+2007-11-21  Chris Toshok  <[EMAIL PROTECTED]>
+
+       * runtime.cpp (Surface::Invalidate): add the int case around the
+       complete expression to quiet gcc.
+
 2007-11-20  Larry Ewing  <[EMAIL PROTECTED]>
 
        * runtime.cpp (Surface::expose_event_callback): take allocation

Modified: trunk/moon/src/runtime.cpp
===================================================================
--- trunk/moon/src/runtime.cpp  2007-11-21 17:55:45 UTC (rev 90098)
+++ trunk/moon/src/runtime.cpp  2007-11-21 18:04:03 UTC (rev 90099)
@@ -404,8 +404,8 @@
 Surface::Invalidate (Rect r)
 {
        gtk_widget_queue_draw_area (drawing_area,
-                                   (int) drawing_area->allocation.x + r.x, 
-                                   (int) drawing_area->allocation.y + r.y, 
+                                   (int) (drawing_area->allocation.x + r.x), 
+                                   (int) (drawing_area->allocation.y + r.y), 
                                    (int) r.w, (int)r.h);
 }
 

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to