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:
H. Peter Anvin 2017-02-23 18:18:12 -08:00
parent be01d496d4
commit 11f18ec05b

View File

@ -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");
}