From: José Fonseca Date: Sat, 18 Oct 2008 04:31:00 +0000 (+0900) Subject: gallium: Fix msvc warning. X-Git-Tag: 062012170305~17580^2~496^2~351 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=82e1026c30dd416231df66daf9b2f28bfc1f1cd6;p=profile%2Fivi%2Fmesa.git gallium: Fix msvc warning. --- diff --git a/src/gallium/auxiliary/util/u_tile.c b/src/gallium/auxiliary/util/u_tile.c index 853c503..00c12ba 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; }