Fix compilation / same as sdl2-compat
testautomation_platform.c:351:28: error: ‘%s’ directive argument is null [-Werror=format-overflow=] 351 | result = SDL_SetError("%s", testError); | ^~ /home/slvn/release/Release_SDL/sdl2-compat/test/testautomation_platform.c:364:64: error: ‘%s’ directive argument is null [-Werror=format-overflow=] 364 | "SDL_GetError(): expected message '%s', was message: '%s'",main
parent
72c366bf3d
commit
56f111dffc
|
@ -369,7 +369,7 @@ static int platform_testSetErrorEmptyInput(void *arg)
|
|||
static int platform_testSetErrorInvalidInput(void *arg)
|
||||
{
|
||||
int result;
|
||||
const char *invalidError = NULL;
|
||||
const char *invalidError = "";
|
||||
const char *probeError = "Testing";
|
||||
const char *lastError;
|
||||
size_t len;
|
||||
|
|
Loading…
Reference in New Issue