mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-09-22 10:43:39 -04: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:
@@ -237,6 +237,6 @@ void dump_expr(const expr *e)
|
|||||||
{
|
{
|
||||||
printf("[");
|
printf("[");
|
||||||
for (; e->type; e++)
|
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");
|
printf("]\n");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user