Skip to content

Commit

Permalink
Fix pointer warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
1bsyl committed Feb 7, 2019
1 parent 3543a44 commit bb9a908
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/video/SDL_blit_N.c
Expand Up @@ -2542,8 +2542,8 @@ BlitNtoNKeyCopyAlpha(SDL_BlitInfo * info)
DUFFS_LOOP(
{
if ((*src32 & rgbmask) != ckey) {
Uint8 *s8 = src32;
Uint8 *d8 = dst32;
Uint8 *s8 = (Uint8 *)src32;
Uint8 *d8 = (Uint8 *)dst32;
d8[0] = s8[r];
d8[1] = s8[g];
d8[2] = s8[b];
Expand Down

0 comments on commit bb9a908

Please sign in to comment.