public inbox for
help / color / mirror / Atom feed
From: Szabolcs Nagy <>
Subject: [glibc/arm/morello/main] cheri: Fix elf/tst-dlmodcount test
Date: Thu, 27 Oct 2022 13:50:18 +0000 (GMT)	[thread overview]
Message-ID: <> (raw);h=3a69d7f241ab9f738479e039bd6eecf433868375

commit 3a69d7f241ab9f738479e039bd6eecf433868375
Author: Szabolcs Nagy <>
Date:   Thu Apr 14 18:34:26 2022 +0100

    cheri: Fix elf/tst-dlmodcount test
    switch statement does not work for intptr_t, use a large int type
    that's guaranteed to work.

 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 8a96803d85..ba9fb171f3 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;
-  intptr_t cmd = (intptr_t) ptr;
+  unsigned long cmd = (intptr_t) ptr;
   printf ("  size = %Zu\n", size);
   if (size < (offsetof (struct dl_phdr_info, dlpi_subs)

             reply	other threads:[~2022-10-27 13:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-27 13:50 Szabolcs Nagy [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-10-26 15:11 Szabolcs Nagy
2022-08-05 19:30 Szabolcs Nagy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).