gallium: Silence compiler warnings on Windows.

This commit is contained in:
Michal Krol
2008-08-26 17:40:24 +02:00
committed by José Fonseca
parent 7b42a5d634
commit 95438727dd
+2 -2
View File
@@ -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;
}