Fixed some issues found with static analysis

This commit is contained in:
Sam Lantinga 2024-07-26 23:35:30 -07:00
parent 218e45247f
commit b854e1fe0b
6 changed files with 41 additions and 14 deletions

View file

@ -840,7 +840,7 @@ static void SDLTest_PrintWindowFlag(char *text, size_t maxlen, SDL_WindowFlags f
SDL_snprintfcat(text, maxlen, "TRANSPARENT");
break;
default:
SDL_snprintfcat(text, maxlen, "0x%8.8x", flag);
SDL_snprintfcat(text, maxlen, "0x%16.16" SDL_PRIx64, flag);
break;
}
}