Fixed warning C6340: Mismatch on sign: 'int' passed as _Param_(3) when some unsigned type is required in call to 'SDL_sscanf_REAL'.

main
Sam Lantinga 2023-12-04 21:00:25 -08:00
parent eab2d97d07
commit 22f44aefe7
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ static SDL_BlitFunc SDL_ChooseBlitFunc(Uint32 src_format, Uint32 dst_format, int
SDL_BlitFuncEntry *entries) 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)); 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 */ /* Get the available CPU features */
if (features == 0x7fffffff) { if (features == 0x7fffffff) {