Skip to content

Commit 8b28d80

Browse files
committed
Try to please gcc
1 parent b742938 commit 8b28d80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src_c/simd_blitters_sse2.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -838,8 +838,8 @@ premul_surf_color_by_alpha_sse2(SDL_Surface *src, SDL_Surface *dst)
838838
++dstp;
839839
},
840840
n, width);
841-
(Uint8 *)srcp += srcskip;
842-
(Uint8 *)dstp += dstskip;
841+
srcp = (Uint32 *)((Uint8 *)srcp + srcskip);
842+
dstp = (Uint32 *)((Uint8 *)dstp + dstskip);
843843
}
844844
}
845845

0 commit comments

Comments
 (0)