summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2005-07-28 11:42:33 +0000
committerCarl Worth <cworth@cworth.org>2005-07-28 11:42:33 +0000
commitd4056b1d1570f1e7c8636a54d2cd1b2a2ca8eb9c (patch)
tree60843822f1c39a2fc424a888c15972ac36bfcab2 /src
parent08e810f5c1d2c71eb44a800ac6e4b334436aa5cf (diff)
Add missing cast.
Diffstat (limited to 'src')
-rw-r--r--src/cairo-png.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-png.c b/src/cairo-png.c
index ca157fae3..afe9e6ea1 100644
--- a/src/cairo-png.c
+++ b/src/cairo-png.c
@@ -341,7 +341,7 @@ read_png (png_rw_ptr read_func,
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;
}