From efae8f33f2c34666c614d5b00cab618425de6f66 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Thu, 8 Apr 2010 22:45:44 +0100 Subject: gallium/unit: Silence warnings. --- progs/gallium/unit/u_format_test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'progs/gallium') diff --git a/progs/gallium/unit/u_format_test.c b/progs/gallium/unit/u_format_test.c index eeb853c30f..f489172001 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; -- cgit v1.2.3