projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb9eb59
)
freedreno/ir3: fix 32-bit builds with pointer-to-int-cast error enabled
author
Rob Herring
<robh@kernel.org>
Thu, 17 Dec 2015 15:42:40 +0000
(09:42 -0600)
committer
Rob Clark
<robclark@freedesktop.org>
Fri, 18 Dec 2015 19:01:07 +0000
(14:01 -0500)
Android builds with -Werror=pointer-to-int-cast causing an error on 32-bit
builds.
Cc: "11.0 11.1" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/ir3/ir3_print.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/freedreno/ir3/ir3_print.c
b/src/gallium/drivers/freedreno/ir3/ir3_print.c
index 07e03d26908b3a197620e4b136f81bbd2a786200..a84e7989cf8c4515d32f8004ed68ef2242dbce60 100644
(file)
--- a/
src/gallium/drivers/freedreno/ir3/ir3_print.c
+++ b/
src/gallium/drivers/freedreno/ir3/ir3_print.c
@@
-143,7
+143,7
@@
block_id(struct ir3_block *block)
#ifdef DEBUG
return block->serialno;
#else
- return (uint32_t)(u
int64_t
)block;
+ return (uint32_t)(u
nsigned long
)block;
#endif
}