From: Brian Paul Date: Wed, 4 Jan 2012 20:34:54 +0000 (-0700) Subject: gallium/util: fix argument cast in x32_s8_get_tile_rgba() call X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c2e537fef26be6f9995f99e04015d0c1ac9ed5ae;p=mesa.git gallium/util: fix argument cast in x32_s8_get_tile_rgba() call --- 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,