Author: lewing
Date: 2007-09-25 14:27:32 -0400 (Tue, 25 Sep 2007)
New Revision: 86352

Modified:
   trunk/moon/src/brush.cpp
Log:
2007-09-25  Larry Ewing  <[EMAIL PROTECTED]>

        * src/brush.cpp: clean up some warnings.



Modified: trunk/moon/src/brush.cpp
===================================================================
--- trunk/moon/src/brush.cpp    2007-09-25 18:15:00 UTC (rev 86351)
+++ trunk/moon/src/brush.cpp    2007-09-25 18:27:32 UTC (rev 86352)
@@ -1094,12 +1094,12 @@
                width = fabs (x2 - x1);
        }
        
-       cairo_pattern_t *pattern = image_brush_create_pattern (cairo, surface, 
bounds.w, bounds.h, opacity);
+       cairo_pattern_t *pattern = image_brush_create_pattern (cairo, surface, 
(int)bounds.w, (int)bounds.h, opacity);
 
        cairo_matrix_t matrix;
        image_brush_compute_pattern_matrix (&matrix,
                                            width, height,
-                                           bounds.w, bounds.h,
+                                           (int)bounds.w, (int)bounds.h,
                                            stretch, ax, ay, transform);
 
        cairo_pattern_set_matrix (pattern, &matrix);

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

Reply via email to