Cast to unsigned long

This commit is contained in:
H.J. Lu 2012-05-17 12:44:52 -07:00
parent de7f5ce7c5
commit 2e4c1e9edb
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
2012-05-17 Andreas Jaeger <aj@suse.de>
* sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only

View file

@ -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;
}