diff options
author | Matt Turner <mattst88@gmail.com> | 2015-04-11 14:49:50 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2015-04-21 09:24:48 -0700 |
commit | 45a13486126fdf0cbb68b7a888cff642c32c1d12 (patch) | |
tree | b939ab5849b7bb694db7fabf7f24d0803c7d5172 /src/mesa | |
parent | dd5c8250537640f92dbc1ee63d516c6e3e2aaf77 (diff) | |
download | external_mesa3d-45a13486126fdf0cbb68b7a888cff642c32c1d12.zip external_mesa3d-45a13486126fdf0cbb68b7a888cff642c32c1d12.tar.gz external_mesa3d-45a13486126fdf0cbb68b7a888cff642c32c1d12.tar.bz2 |
i965: Make type_sz() return unsigned.
Avoids annoying warnings when comparing with sizeof(...).
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_reg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_reg.h b/src/mesa/drivers/dri/i965/brw_reg.h index 924b059..3a50e86 100644 --- 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) { |