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 caeee451..f1b668eb 100644
--- a/fitz/base_memory.c
+++ b/fitz/base_memory.c
@@ -53,7 +53,7 @@ fz_realloc(void *p, int count, int size)
}
np = realloc(p, count * size);
- if (np == nil)
+ if (np == NULL)
{
fprintf(stderr, "fatal error: out of memory\n");
abort();