assert: SDL_AssertData::always_ignore should be an SDL_bool, not an int.
This commit is contained in:
@@ -374,7 +374,7 @@ SDL_AssertState SDL_ReportAssertion(SDL_AssertData *data, const char *func, cons
|
||||
switch (state) {
|
||||
case SDL_ASSERTION_ALWAYS_IGNORE:
|
||||
state = SDL_ASSERTION_IGNORE;
|
||||
data->always_ignore = 1;
|
||||
data->always_ignore = SDL_TRUE;
|
||||
break;
|
||||
|
||||
case SDL_ASSERTION_IGNORE:
|
||||
|
||||
Reference in New Issue
Block a user