mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
i965: Make type_sz() return unsigned.
Avoids annoying warnings when comparing with sizeof(...). Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
This commit is contained in:
parent
dd5c825053
commit
45a1348612
1 changed files with 1 additions and 1 deletions
|
|
@ -265,7 +265,7 @@ struct brw_indirect {
|
|||
};
|
||||
|
||||
|
||||
static inline int
|
||||
static inline unsigned
|
||||
type_sz(unsigned type)
|
||||
{
|
||||
switch(type) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue