summaryrefslogtreecommitdiff
path: root/raster/pixmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'raster/pixmap.c')
-rw-r--r--raster/pixmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/raster/pixmap.c b/raster/pixmap.c
index 74e2f59a..cec36014 100644
--- a/raster/pixmap.c
+++ b/raster/pixmap.c
@@ -23,7 +23,7 @@ fz_newpixmap(fz_pixmap **pixp, int x, int y, int w, int h, int n)
return fz_outofmem;
}
- return nil;
+ return fz_okay;
}
fz_error *
@@ -43,7 +43,7 @@ fz_newpixmapcopy(fz_pixmap **pixp, fz_pixmap *old)
if (error)
return error;
memcpy((*pixp)->samples, old->samples, old->w * old->h * old->n);
- return nil;
+ return fz_okay;
}
void