summaryrefslogtreecommitdiff
path: root/fitz/base_memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'fitz/base_memory.c')
-rw-r--r--fitz/base_memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fitz/base_memory.c b/fitz/base_memory.c
index 21effdc1..e583dc9e 100644
--- a/fitz/base_memory.c
+++ b/fitz/base_memory.c
@@ -25,7 +25,7 @@ char * fz_strdup(char *s)
{
char *ns = strdup(s);
if (!ns)
- fz_throw("cannot strdup %d bytes", strlen(s) + 1);
+ fz_throw("cannot strdup %lu bytes", (unsigned long)strlen(s) + 1);
return ns;
}