Module: Mesa Branch: master Commit: efae8f33f2c34666c614d5b00cab618425de6f66 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=efae8f33f2c34666c614d5b00cab618425de6f66
Author: José Fonseca <[email protected]> Date: Thu Apr 8 22:45:44 2010 +0100 gallium/unit: Silence warnings. --- progs/gallium/unit/u_format_test.c | 4 ++-- 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 eeb853c..f489172 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; _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
