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:
Matt Turner 2015-04-11 14:49:50 -07:00
parent dd5c825053
commit 45a1348612
1 changed files with 1 additions and 1 deletions

View File

@ -265,7 +265,7 @@ struct brw_indirect {
};
static inline int
static inline unsigned
type_sz(unsigned type)
{
switch(type) {