From: H.J. Lu Date: Thu, 17 May 2012 19:44:52 +0000 (-0700) Subject: Cast to unsigned long X-Git-Tag: upstream/2.30~10895 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2e4c1e9edb2a0f25a4d8de961dd4b7518c88bc54;p=external%2Fglibc.git Cast to unsigned long --- diff --git a/ChangeLog b/ChangeLog index 284adae..793bc73 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2012-05-17 H.J. Lu + + * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long. + 2012-05-17 Andreas Jaeger * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only 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; }