summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/trace/tr_dump.c8
-rw-r--r--src/gallium/drivers/trace/tr_dump.h4
2 files changed, 6 insertions, 6 deletions
diff --git a/src/gallium/drivers/trace/tr_dump.c b/src/gallium/drivers/trace/tr_dump.c
index ecd0d6830d..1613a626df 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)
diff --git a/src/gallium/drivers/trace/tr_dump.h b/src/gallium/drivers/trace/tr_dump.h
index 14176a78e9..6ddc8fc15c 100644
--- a/src/gallium/drivers/trace/tr_dump.h
+++ b/src/gallium/drivers/trace/tr_dump.h
@@ -48,8 +48,8 @@ void trace_dump_arg_end(void);
void trace_dump_ret_begin(void);
void trace_dump_ret_end(void);
void trace_dump_bool(int value);
-void trace_dump_int(long int value);
-void trace_dump_uint(long unsigned value);
+void trace_dump_int(long long int value);
+void trace_dump_uint(long long unsigned value);
void trace_dump_float(double value);
void trace_dump_bytes(const void *data, long unsigned size);
void trace_dump_string(const char *str);