From f4c913ed552252ca91690e6c73ea02b10e263509 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Wed, 16 Nov 2022 14:35:43 +0000 Subject: Revert "cheri: Fix elf/tst-dlmodcount test" This reverts commit 3a69d7f241ab9f738479e039bd6eecf433868375. --- elf/tst-dlmodcount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elf/tst-dlmodcount.c b/elf/tst-dlmodcount.c index ba9fb17..8a96803 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) -- cgit v1.1