projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd5c825
)
i965: Make type_sz() return unsigned.
author
Matt Turner
<mattst88@gmail.com>
Sat, 11 Apr 2015 21:49:50 +0000
(14:49 -0700)
committer
Matt Turner
<mattst88@gmail.com>
Tue, 21 Apr 2015 16:24:48 +0000
(09:24 -0700)
Avoids annoying warnings when comparing with sizeof(...).
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/drivers/dri/i965/brw_reg.h
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_reg.h
b/src/mesa/drivers/dri/i965/brw_reg.h
index 924b05914cf3eda1db05ef049226be096efa26e3..3a50e864aad5892e27c8a3a79b2e25fc87372d6d 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_reg.h
+++ b/
src/mesa/drivers/dri/i965/brw_reg.h
@@
-265,7
+265,7
@@
struct brw_indirect {
};
-static inline
int
+static inline
unsigned
type_sz(unsigned type)
{
switch(type) {