From c2e537fef26be6f9995f99e04015d0c1ac9ed5ae Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 4 Jan 2012 13:34:54 -0700 Subject: gallium/util: fix argument cast in x32_s8_get_tile_rgba() call --- src/gallium/auxiliary/util/u_tile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/util/u_tile.c b/src/gallium/auxiliary/util/u_tile.c index 357e896ade7..ea4b91f959a 100644 --- a/src/gallium/auxiliary/util/u_tile.c +++ b/src/gallium/auxiliary/util/u_tile.c @@ -407,7 +407,7 @@ pipe_tile_raw_to_rgba(enum pipe_format format, z32f_x24s8_get_tile_rgba((float *) src, w, h, dst, dst_stride); break; case PIPE_FORMAT_X32_S8X24_UINT: - x32_s8_get_tile_rgba((float *) src, w, h, dst, dst_stride); + x32_s8_get_tile_rgba((unsigned *) src, w, h, dst, dst_stride); break; default: util_format_read_4f(format, -- cgit v1.2.3