diff options
author | Matt Turner <[email protected]> | 2015-04-11 14:49:50 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2015-04-21 09:24:48 -0700 |
commit | 45a13486126fdf0cbb68b7a888cff642c32c1d12 (patch) | |
tree | b939ab5849b7bb694db7fabf7f24d0803c7d5172 | |
parent | dd5c8250537640f92dbc1ee63d516c6e3e2aaf77 (diff) |
i965: Make type_sz() return unsigned.
Avoids annoying warnings when comparing with sizeof(...).
Reviewed-by: Jason Ekstrand <[email protected]>
-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 924b05914cf..3a50e864aad 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) { |