summaryrefslogtreecommitdiff
path: root/source/fitz
diff options
context:
space:
mode:
Diffstat (limited to 'source/fitz')
-rw-r--r--source/fitz/pixmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/pixmap.c b/source/fitz/pixmap.c
index d278900a..f888792d 100644
--- a/source/fitz/pixmap.c
+++ b/source/fitz/pixmap.c
@@ -1263,7 +1263,7 @@ int fz_valgrind_pixmap(const fz_pixmap *pix)
const unsigned char *p = pix->samples;
if (pix == NULL)
- return;
+ return 0;
total = 0;
ww = pix->w;