summaryrefslogtreecommitdiffstats
path: root/byterun/parsing.c
diff options
context:
space:
mode:
Diffstat (limited to 'byterun/parsing.c')
-rw-r--r--byterun/parsing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/byterun/parsing.c b/byterun/parsing.c
index aeba38d62..3d5ea8332 100644
--- a/byterun/parsing.c
+++ b/byterun/parsing.c
@@ -125,7 +125,7 @@ static void print_token(struct parser_tables *tables, int state, value tok)
state, token_name(tables->names_block, Tag_val(tok)));
v = Field(tok, 0);
if (Is_long(v))
- fprintf(stderr, "%ld", Long_val(v));
+ fprintf(stderr, "%" ARCH_INTNAT_PRINTF_FORMAT "d", Long_val(v));
else if (Tag_val(v) == String_tag)
fprintf(stderr, "%s", String_val(v));
else if (Tag_val(v) == Double_tag)