summaryrefslogtreecommitdiffstats
path: root/tests/asm-tst5.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/asm-tst5.c')
-rw-r--r--tests/asm-tst5.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/asm-tst5.c b/tests/asm-tst5.c
index d97d4be9..5a29b01c 100644
--- a/tests/asm-tst5.c
+++ b/tests/asm-tst5.c
@@ -64,7 +64,7 @@ main (void)
AsmScn_t *scn;
/* Create a unique name. */
- snprintf (buf, sizeof (buf), ".data.%Zu", cnt);
+ snprintf (buf, sizeof (buf), ".data.%zu", cnt);
/* Create the section. */
scn = asm_newscn (ctx, buf, SHT_PROGBITS, SHF_ALLOC | SHF_WRITE);
@@ -77,7 +77,7 @@ main (void)
}
/* Add a name. */
- snprintf (buf, sizeof (buf), "%Zu", cnt);
+ snprintf (buf, sizeof (buf), "%zu", cnt);
if (asm_newsym (scn, buf, sizeof (uint32_t), STT_OBJECT,
STB_GLOBAL) == NULL)
{