Forráskód Böngészése

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

Sam Lantinga 1 éve
szülő
commit
61db102da9
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      include/SDL3/SDL_stdinc.h

+ 1 - 1
include/SDL3/SDL_stdinc.h

@@ -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.