gallium/util: another unsigned -> enum pipe_prim_type change

gcc didn't warn about the unsigned / enum pipe_prim_type mismatch
between the .c and .h file.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
This commit is contained in:
Brian Paul 2016-05-27 15:56:07 -06:00
parent 47e2a57fe9
commit 8beb6f3c9c
1 changed files with 1 additions and 1 deletions

View File

@ -423,7 +423,7 @@ debug_print_format(const char *msg, unsigned fmt )
/** Return string name of given primitive type */
const char *
u_prim_name(unsigned prim)
u_prim_name(enum pipe_prim_type prim)
{
static const struct debug_named_value names[] = {
DEBUG_NAMED_VALUE(PIPE_PRIM_POINTS),