summaryrefslogtreecommitdiffstats
path: root/tests/asm-tst4.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/asm-tst4.c')
-rw-r--r--tests/asm-tst4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/asm-tst4.c b/tests/asm-tst4.c
index 4788b79e..52e9e20b 100644
--- a/tests/asm-tst4.c
+++ b/tests/asm-tst4.c
@@ -62,7 +62,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);