From: Brian Paul Date: Fri, 27 May 2016 21:56:07 +0000 (-0600) Subject: gallium/util: another unsigned -> enum pipe_prim_type change X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8beb6f3c9c510ea303b2ec38219bab7f30313b3f;p=mesa.git 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 --- diff --git a/src/gallium/auxiliary/util/u_debug.c b/src/gallium/auxiliary/util/u_debug.c index 0d63cfee5e8..3a94b75ee33 100644 --- a/src/gallium/auxiliary/util/u_debug.c +++ b/src/gallium/auxiliary/util/u_debug.c @@ -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),