[Mesa-dev] [PATCH] gallium/util: another unsigned -> enum pipe_prim_type change
Roland Scheidegger
sroland at vmware.com
Fri May 27 22:04:05 UTC 2016
Am 27.05.2016 um 23:57 schrieb Brian Paul:
> gcc didn't warn about the unsigned / enum pipe_prim_type mismatch
> between the .c and .h file.
> ---
> src/gallium/auxiliary/util/u_debug.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/gallium/auxiliary/util/u_debug.c b/src/gallium/auxiliary/util/u_debug.c
> index 0d63cfe..3a94b75 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),
>
Reviewed-by: Roland Scheidegger <sroland at vmware.com>
More information about the mesa-dev
mailing list