aboutsummaryrefslogtreecommitdiff
path: root/elf/tst-tls7.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/tst-tls7.c')
-rw-r--r--elf/tst-tls7.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/elf/tst-tls7.c b/elf/tst-tls7.c
index 4f785fe78e..37f1a63e16 100644
--- a/elf/tst-tls7.c
+++ b/elf/tst-tls7.c
@@ -32,9 +32,9 @@ do_test (void)
time. The value of the first round is used. */
if (modid == -1)
modid = ((struct link_map *) h)->l_tls_modid;
- else if (((struct link_map *) h)->l_tls_modid != modid)
+ else if (((struct link_map *) h)->l_tls_modid != (size_t) modid)
{
- printf ("round %d: modid now %d, initially %d\n",
+ printf ("round %d: modid now %zu, initially %d\n",
i, ((struct link_map *) h)->l_tls_modid, modid);
result = 1;
}