Fixed signed/unsigned warnings with Visual Studio when comparing SDL_bool with boolean expressions

This commit is contained in:
Sam Lantinga 2023-12-29 09:23:47 -08:00
parent d71454da17
commit 61db102da9
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ char *alloca();
*/
#define SDL_FALSE 0
#define SDL_TRUE 1
typedef unsigned int SDL_bool;
typedef int SDL_bool;
/**
* A signed 8-bit integer type.