diff options
author | Michal Krol <[email protected]> | 2008-08-26 17:40:24 +0200 |
---|---|---|
committer | José Fonseca <[email protected]> | 2008-11-03 23:55:38 +0900 |
commit | 95438727ddc4012d6e2db843d7173607b2a23b56 (patch) | |
tree | c6d050c77360fa976a03530d0df03241b0fabfd0 /src/gallium/auxiliary/util | |
parent | 7b42a5d634d32c3f15f3a3535b2b9328dfca49bf (diff) |
gallium: Silence compiler warnings on Windows.
Diffstat (limited to 'src/gallium/auxiliary/util')
-rw-r--r-- | src/gallium/auxiliary/util/u_tile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/util/u_tile.c b/src/gallium/auxiliary/util/u_tile.c index fa683b6774b..32f6b072a00 100644 --- a/src/gallium/auxiliary/util/u_tile.c +++ b/src/gallium/auxiliary/util/u_tile.c @@ -460,7 +460,7 @@ l8_put_tile_rgba(ubyte *dst, for (j = 0; j < w; j++, pRow += 4) { unsigned r; r = float_to_ubyte(pRow[0]); - *dst++ = r; + *dst++ = (ubyte) r; } p += src_stride; } @@ -634,7 +634,7 @@ i8_put_tile_rgba(ubyte *dst, for (j = 0; j < w; j++, pRow += 4) { unsigned r; r = float_to_ubyte(pRow[0]); - *dst++ = r; + *dst++ = (ubyte) r; } p += src_stride; } |