projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47e2a57
)
gallium/util: another unsigned -> enum pipe_prim_type change
author
Brian Paul
<brianp@vmware.com>
Fri, 27 May 2016 21:56:07 +0000
(15:56 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 27 May 2016 23:55:05 +0000
(17:55 -0600)
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>
src/gallium/auxiliary/util/u_debug.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_debug.c
b/src/gallium/auxiliary/util/u_debug.c
index 0d63cfee5e85ab639003661fe29326e774b18357..3a94b75ee335c602b554f2f790a4eb743698aa08 100644
(file)
--- 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),