summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-04-08 22:45:44 +0100
committerJosé Fonseca <jfonseca@vmware.com>2010-04-09 16:32:47 +0100
commitefae8f33f2c34666c614d5b00cab618425de6f66 (patch)
tree619a7e6ad09867a27c049febeb92f3f2054c976e
parent1f014a36f793d60aa7c3defeabf6cbe4191ac422 (diff)
gallium/unit: Silence warnings.
-rw-r--r--progs/gallium/unit/u_format_test.c4
1 files changed, 2 insertions, 2 deletions
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;