Fixed bug #7614: Segmentation Fault in SDL_BlitSurface

This commit is contained in:
Sylvain authored and Sam Lantinga committed 2024-01-16 07:09:35 -08:00
1 parent ce0e0675de
commit e6c8872fdc
1 file changed
+2 -1
+2 -1
View File
@@ -688,7 +688,8 @@ int SDL_BlitSurface(SDL_Surface *src, const SDL_Rect *srcrect,
SDL_Surface *dst, SDL_Rect *dstrect)
{
SDL_Rect fulldst;
int srcx, srcy, w, h;
int srcx, srcy;
Sint64 w, h;
/* Make sure the surfaces aren't locked */
if (!src || !dst) {