mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
gallium: Silence compiler warnings on Windows.
This commit is contained in:
parent
7b42a5d634
commit
95438727dd
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue