]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Revert "cheri: Fix elf/tst-dlmodcount test"
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Wed, 16 Nov 2022 14:35:43 +0000 (14:35 +0000)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Wed, 16 Nov 2022 14:35:43 +0000 (14:35 +0000)
This reverts commit 3a69d7f241ab9f738479e039bd6eecf433868375.

elf/tst-dlmodcount.c

index ba9fb171f3f7a5da8c699a4cccf93b77ac8a9a31..8a96803d8589c529fb8b145df506786f858d2fe4 100644 (file)
@@ -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)