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
1 changed files with 1 additions and 1 deletions

View File

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