about summary refs log tree commit diff
path: root/sysdeps/x86_64/tst-mallocalign1.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/x86_64/tst-mallocalign1.c')
-rw-r--r--sysdeps/x86_64/tst-mallocalign1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/x86_64/tst-mallocalign1.c b/sysdeps/x86_64/tst-mallocalign1.c
index 5ce68daa8e..d4e603609a 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;
 }