aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--elf/tst-dlmodcount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/tst-dlmodcount.c b/elf/tst-dlmodcount.c
index ba9fb171f3..8a96803d85 100644
--- a/elf/tst-dlmodcount.c
+++ b/elf/tst-dlmodcount.c
@@ -30,7 +30,7 @@ static int
callback (struct dl_phdr_info *info, size_t size, void *ptr)
{
static int last_adds = 0, last_subs = 0;
- unsigned long cmd = (intptr_t) ptr;
+ intptr_t cmd = (intptr_t) ptr;
printf (" size = %Zu\n", size);
if (size < (offsetof (struct dl_phdr_info, dlpi_subs)