From: José Fonseca Date: Thu, 8 Apr 2010 21:45:44 +0000 (+0100) Subject: gallium/unit: Silence warnings. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=efae8f33f2c34666c614d5b00cab618425de6f66;p=mesa.git gallium/unit: Silence warnings. --- diff --git a/progs/gallium/unit/u_format_test.c b/progs/gallium/unit/u_format_test.c index eeb853c30f3..f4891720017 100644 --- a/progs/gallium/unit/u_format_test.c +++ b/progs/gallium/unit/u_format_test.c @@ -94,7 +94,7 @@ print_unpacked_doubl(const struct util_format_description *format_desc, static void print_unpacked_float(const struct util_format_description *format_desc, const char *prefix, - const float unpacked[UTIL_FORMAT_MAX_UNPACKED_HEIGHT][UTIL_FORMAT_MAX_UNPACKED_WIDTH][4], + float unpacked[UTIL_FORMAT_MAX_UNPACKED_HEIGHT][UTIL_FORMAT_MAX_UNPACKED_WIDTH][4], const char *suffix) { unsigned i, j; @@ -115,7 +115,7 @@ print_unpacked_float(const struct util_format_description *format_desc, static void print_unpacked_8unorm(const struct util_format_description *format_desc, const char *prefix, - const uint8_t unpacked[][UTIL_FORMAT_MAX_UNPACKED_WIDTH][4], + uint8_t unpacked[UTIL_FORMAT_MAX_UNPACKED_HEIGHT][UTIL_FORMAT_MAX_UNPACKED_WIDTH][4], const char *suffix) { unsigned i, j;