[cairo-commit] src/cairo-svg-surface.c

Behdad Esfahbod behdad at kemper.freedesktop.org
Mon Mar 5 12:10:36 PST 2007


 src/cairo-svg-surface.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

New commits:
diff-tree 0cdb96544eda163de050c65f7e7cd413b21f61cc (from bbc341614455b22210c818eca01cf4618989565c)
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Mon Mar 5 15:10:35 2007 -0500

    [SVG] Cast -1 values to unsigned to indicate we really did mean to type them

diff --git a/src/cairo-svg-surface.c b/src/cairo-svg-surface.c
index 2b2b2fe..c57ca98 100644
--- a/src/cairo-svg-surface.c
+++ b/src/cairo-svg-surface.c
@@ -930,7 +930,7 @@ emit_composite_image_pattern (cairo_outp
 
     status = _cairo_pattern_acquire_surface ((cairo_pattern_t *)pattern,
 					     (cairo_surface_t *)svg_surface,
-					     0, 0, -1, -1,
+					     0, 0, (unsigned int)-1, (unsigned int)-1,
 					     &surface, &surface_attr);
     if (status)
 	return status;


More information about the cairo-commit mailing list