gallium: Fix msvc warning.

This commit is contained in:
José Fonseca 2008-10-18 13:31:00 +09:00
parent 81c862205e
commit 82e1026c30

View file

@ -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;
}