[cairo-commit] cairo/src cairo-png.c,1.20,1.21

Carl Worth commit at pdx.freedesktop.org
Thu Jul 28 11:42:35 PDT 2005


Committed by: cworth

Update of /cvs/cairo/cairo/src
In directory gabe:/tmp/cvs-serv11070/src

Modified Files:
	cairo-png.c 
Log Message:
       * src/cairo-png.c (read_png): Add missing cast.


Index: cairo-png.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-png.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- cairo-png.c	28 Jul 2005 17:41:08 -0000	1.20
+++ cairo-png.c	28 Jul 2005 18:42:33 -0000	1.21
@@ -341,7 +341,7 @@
     png_set_read_fn (png, closure, read_func);
 
     if (setjmp (png_jmpbuf (png))) {
-	surface = &_cairo_surface_nil_read_error;
+	surface = (cairo_surface_t*) &_cairo_surface_nil_read_error;
 	goto BAIL;
     }
 




More information about the cairo-commit mailing list