Kaynağa Gözat

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

Sam Lantinga 2 yıl önce
ebeveyn
işleme
61db102da9
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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.