From 2e4c1e9edb2a0f25a4d8de961dd4b7518c88bc54 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 17 May 2012 12:44:52 -0700 Subject: Cast to unsigned long --- sysdeps/x86_64/tst-mallocalign1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps') diff --git a/sysdeps/x86_64/tst-mallocalign1.c b/sysdeps/x86_64/tst-mallocalign1.c index 5ce68da..d4e6036 100644 --- a/sysdeps/x86_64/tst-mallocalign1.c +++ b/sysdeps/x86_64/tst-mallocalign1.c @@ -26,7 +26,7 @@ test (size_t s) { void *p = malloc (s); - printf ("malloc: %d, %p: %ld\n", s, p, + printf ("malloc: %ld, %p: %ld\n", (unsigned long) s, p, ((unsigned long) p) & ALIGN_MASK); return p; } -- cgit v1.1