summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/util
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@tungstengraphics.com>2008-10-18 13:31:00 +0900
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2008-11-03 22:34:52 +0900
commit82e1026c30dd416231df66daf9b2f28bfc1f1cd6 (patch)
tree30a353ff8499723384a20df3b0a7f463890efe38 /src/gallium/auxiliary/util
parent81c862205e32b163a9f5ecf3f59e4cdcccee36c6 (diff)
gallium: Fix msvc warning.
Diffstat (limited to 'src/gallium/auxiliary/util')
-rw-r--r--src/gallium/auxiliary/util/u_tile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_tile.c b/src/gallium/auxiliary/util/u_tile.c
index 853c503f4f..00c12badf2 100644
--- a/src/gallium/auxiliary/util/u_tile.c
+++ b/src/gallium/auxiliary/util/u_tile.c
@@ -504,7 +504,7 @@ a8_put_tile_rgba(ubyte *dst,
for (j = 0; j < w; j++, pRow += 4) {
unsigned a;
a = float_to_ubyte(pRow[3]);
- *dst++ = a;
+ *dst++ = (ubyte) a;
}
p += src_stride;
}