mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-01-18 16:25:05 +08:00
asm/exprlib.c: use PRId64 to print a 64-bit number
Use PRId64 instead of %ld to print a 64-bit number. This is debugging code, but as it is frequently useful I included it in mainline code and, well, then it has to compile everywhere... Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
parent
be01d496d4
commit
11f18ec05b
@ -237,6 +237,6 @@ void dump_expr(const expr *e)
|
||||
{
|
||||
printf("[");
|
||||
for (; e->type; e++)
|
||||
printf("<%s(%d),%ld>", expr_type(e->type), e->type, e->value);
|
||||
printf("<%s(%d),%"PRId64">", expr_type(e->type), e->type, e->value);
|
||||
printf("]\n");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user