Revert "Fixed signed/unsigned warnings with Visual Studio when comparing SDL_bool with boolean expressions"
This reverts commit 61db102da90227b5dbc52c03dc9848228591e49d. This causes the build to fail: SDL_waylandwindow.c:1876:45: error: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Werror,-Wsingle-bit-bitfield-constant-conversion] wind->fullscreen_was_positioned = SDL_TRUE;
This commit is contained in:
parent
8f94102b04
commit
7681695875
@ -133,7 +133,7 @@ char *alloca();
|
||||
*/
|
||||
#define SDL_FALSE 0
|
||||
#define SDL_TRUE 1
|
||||
typedef int SDL_bool;
|
||||
typedef unsigned int SDL_bool;
|
||||
|
||||
/**
|
||||
* A signed 8-bit integer type.
|
||||
|
Loading…
x
Reference in New Issue
Block a user