diff options
author | José Fonseca <[email protected]> | 2008-08-16 19:44:37 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2008-08-18 20:47:41 +0100 |
commit | d042f415fc9edcc174573fc2cc06afa373a7ef9b (patch) | |
tree | 8418667163a9f3e6725ebd29f971e002f34d7b56 /src/gallium/drivers/trace/tr_dump.c | |
parent | 6a31bb6ad8251ae977327e64562f373a89f55c70 (diff) |
trace: Use long longs to ensure covering 64bits integers.
Diffstat (limited to 'src/gallium/drivers/trace/tr_dump.c')
-rw-r--r-- | src/gallium/drivers/trace/tr_dump.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/trace/tr_dump.c b/src/gallium/drivers/trace/tr_dump.c index ecd0d6830d2..1613a626df4 100644 --- a/src/gallium/drivers/trace/tr_dump.c +++ b/src/gallium/drivers/trace/tr_dump.c @@ -302,14 +302,14 @@ void trace_dump_bool(int value) trace_dump_writef("<bool>%c</bool>", value ? '1' : '0'); } -void trace_dump_int(long int value) +void trace_dump_int(long long int value) { - trace_dump_writef("<int>%li</int>", value); + trace_dump_writef("<int>%lli</int>", value); } -void trace_dump_uint(long unsigned value) +void trace_dump_uint(long long unsigned value) { - trace_dump_writef("<uint>%lu</uint>", value); + trace_dump_writef("<uint>%llu</uint>", value); } void trace_dump_float(double value) |