From 22f44aefe74ce09f0cf01a1f720c069dd18015cb Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 4 Dec 2023 21:00:25 -0800 Subject: [PATCH] Fixed warning C6340: Mismatch on sign: 'int' passed as _Param_(3) when some unsigned type is required in call to 'SDL_sscanf_REAL'. --- src/video/SDL_blit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/SDL_blit.c b/src/video/SDL_blit.c index 44807bcb9..886fcb936 100644 --- a/src/video/SDL_blit.c +++ b/src/video/SDL_blit.c @@ -126,7 +126,7 @@ static SDL_BlitFunc SDL_ChooseBlitFunc(Uint32 src_format, Uint32 dst_format, int SDL_BlitFuncEntry *entries) { int i, flagcheck = (flags & (SDL_COPY_MODULATE_COLOR | SDL_COPY_MODULATE_ALPHA | SDL_COPY_BLEND | SDL_COPY_ADD | SDL_COPY_MOD | SDL_COPY_MUL | SDL_COPY_COLORKEY | SDL_COPY_NEAREST)); - static int features = 0x7fffffff; + static unsigned int features = 0x7fffffff; /* Get the available CPU features */ if (features == 0x7fffffff) {