From b4a8c3d4f77bde9e89077681f1225a5c7b0ac039 Mon Sep 17 00:00:00 2001 From: divinity76 Date: Thu, 3 Nov 2016 13:26:22 +0100 Subject: [PATCH] use zu instead of "lu and cast" --- tools/emalloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/emalloc.c b/tools/emalloc.c index 8ac6fe65..70ab9532 100644 --- a/tools/emalloc.c +++ b/tools/emalloc.c @@ -29,7 +29,7 @@ void * emalloc (size_t length) void * memory = malloc (length); if (!memory) { - error (1, errno, "need %lu bytes", (long)(length)); + error (1, errno, "need %zu bytes", (length)); } return (memory); }