test: Fixed compiler warning on Visual Studio.

This commit is contained in:
Ryan C. Gordon 2019-10-15 08:54:25 -04:00
parent 31ee4d3d81
commit aa0a6518a2

View File

@ -210,7 +210,7 @@ SDLTest_SetTestTimeout(int timeout, void (*callback)(void))
#pragma aux SDLTest_BailOut aborts;
#endif
static SDL_NORETURN void
SDLTest_BailOut()
SDLTest_BailOut(void)
{
SDLTest_LogError("TestCaseTimeout timer expired. Aborting test run.");
exit(TEST_ABORTED); /* bail out from the test */