From: Szabolcs Nagy Date: Wed, 16 Nov 2022 14:35:43 +0000 (+0000) Subject: Revert "cheri: Fix elf/tst-dlmodcount test" X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4c913ed552252ca91690e6c73ea02b10e263509;p=thirdparty%2Fglibc.git Revert "cheri: Fix elf/tst-dlmodcount test" This reverts commit 3a69d7f241ab9f738479e039bd6eecf433868375. --- diff --git a/elf/tst-dlmodcount.c b/elf/tst-dlmodcount.c index ba9fb171f3f..8a96803d858 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)