gallium: Silence compiler warnings on Windows.
This commit is contained in:
committed by
José Fonseca
parent
7b42a5d634
commit
95438727dd
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user