diff --git a/src/gallium/auxiliary/util/u_debug_describe.c b/src/gallium/auxiliary/util/u_debug_describe.c index df73ed8..499c360 100644 --- a/src/gallium/auxiliary/util/u_debug_describe.c +++ b/src/gallium/auxiliary/util/u_debug_describe.c @@ -30,7 +30,7 @@ #include "util/u_string.h" void -debug_describe_reference(char* buf, const struct pipe_reference*ptr) +debug_describe_reference(char* buf, UNUSED const struct pipe_reference*ptr) { strcpy(buf, "pipe_object"); } diff --git a/src/gallium/auxiliary/util/u_format.c b/src/gallium/auxiliary/util/u_format.c index 659189f..cda6aa7 100644 --- a/src/gallium/auxiliary/util/u_format.c +++ b/src/gallium/auxiliary/util/u_format.c @@ -46,7 +46,7 @@ boolean util_format_is_float(enum pipe_format format) { const struct util_format_description *desc = util_format_description(format); - unsigned i; + int i; assert(desc); if (!desc) {