aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fractal-gen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fractal-gen.c b/fractal-gen.c
index 0a09c41..7f4e326 100644
--- a/fractal-gen.c
+++ b/fractal-gen.c
@@ -126,7 +126,7 @@ main(int argc, char **argv)
toalloc = ceilf((double)toalloc/clust_total);
if ((sections[i].data = malloc(toalloc)) == NULL) {
- fprintf(stderr, "\nmalloc of %lu bytes failed\n", toalloc);
+ fprintf(stderr, "\nmalloc of %zd bytes failed\n", toalloc);
perror("malloc");
/* Free already allocated chunks of memory */