projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa6489b
)
radeon: fix warnings
author
Marek Olšák
<maraeo@gmail.com>
Tue, 27 Apr 2010 22:38:27 +0000
(
00:38
+0200)
committer
Marek Olšák
<maraeo@gmail.com>
Tue, 27 Apr 2010 22:38:27 +0000
(
00:38
+0200)
src/mesa/drivers/dri/radeon/radeon_queryobj.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/radeon/radeon_queryobj.c
b/src/mesa/drivers/dri/radeon/radeon_queryobj.c
index 04ce12493e6f1108ad5e791eadf615e4d4748334..ab6d02e56b96359dcfef214ee258588be6d70215 100644
(file)
--- a/
src/mesa/drivers/dri/radeon/radeon_queryobj.c
+++ b/
src/mesa/drivers/dri/radeon/radeon_queryobj.c
@@
-31,6
+31,8
@@
#include "main/imports.h"
#include "main/simple_list.h"
+#include <inttypes.h>
+
static void radeonQueryGetResult(GLcontext *ctx, struct gl_query_object *q)
{
radeonContextPtr radeon = RADEON_CONTEXT(ctx);
@@
-65,7
+67,7
@@
static void radeonQueryGetResult(GLcontext *ctx, struct gl_query_object *q)
}
radeon_print(RADEON_STATE, RADEON_TRACE,
- "%d start: %
llx, end: %llx %lld
\n", i, start, end, end - start);
+ "%d start: %
" PRIu64 ", end: %" PRIu64 " %" PRIu64 "
\n", i, start, end, end - start);
}
} else {
for (i = 0; i < query->curr_offset/sizeof(uint32_t); ++i) {