mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-22 14:45:28 +00:00
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'", (cherry picked from commit 56f111dffc2828d67fd8e0402b0fe1193c48ce26)
This commit is contained in:
parent
5240071b1c
commit
9720672374
|
@ -386,7 +386,7 @@ int platform_testSetErrorEmptyInput(void *arg)
|
|||
int platform_testSetErrorInvalidInput(void *arg)
|
||||
{
|
||||
int result;
|
||||
const char *invalidError = NULL;
|
||||
const char *invalidError = "";
|
||||
const char *probeError = "Testing";
|
||||
char *lastError;
|
||||
size_t len;
|
||||
|
|
Loading…
Reference in a new issue