mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
Fix pointer warnings
This commit is contained in:
parent
3543a44ae4
commit
bb9a9080dc
@ -2542,8 +2542,8 @@ BlitNtoNKeyCopyAlpha(SDL_BlitInfo * info)
|
|||||||
DUFFS_LOOP(
|
DUFFS_LOOP(
|
||||||
{
|
{
|
||||||
if ((*src32 & rgbmask) != ckey) {
|
if ((*src32 & rgbmask) != ckey) {
|
||||||
Uint8 *s8 = src32;
|
Uint8 *s8 = (Uint8 *)src32;
|
||||||
Uint8 *d8 = dst32;
|
Uint8 *d8 = (Uint8 *)dst32;
|
||||||
d8[0] = s8[r];
|
d8[0] = s8[r];
|
||||||
d8[1] = s8[g];
|
d8[1] = s8[g];
|
||||||
d8[2] = s8[b];
|
d8[2] = s8[b];
|
||||||
|
Loading…
Reference in New Issue
Block a user