summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2016-05-27 15:56:07 -0600
committerBrian Paul <[email protected]>2016-05-27 17:55:05 -0600
commit8beb6f3c9c510ea303b2ec38219bab7f30313b3f (patch)
treea9ee82628ba1006aba94287b3ecb70616e5b04a8 /src/gallium/auxiliary/util
parent47e2a57fe955c04763c979ff4ca61c6867fa05bb (diff)
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 <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/util')
-rw-r--r--src/gallium/auxiliary/util/u_debug.c2
1 files changed, 1 insertions, 1 deletions
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),