Browse Source

Fixed compiler warning on Android

Sam Lantinga 5 years ago
parent
commit
791df27a30
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/test/SDL_test_harness.c

+ 1 - 1
src/test/SDL_test_harness.c

@@ -169,7 +169,7 @@ SDLTest_GenerateExecKey(const char *runSeed, char *suiteName, char *testName, in
 * \return Timer id or -1 on failure.
 */
 static SDL_TimerID
-SDLTest_SetTestTimeout(int timeout, void (*callback)())
+SDLTest_SetTestTimeout(int timeout, void (*callback)(void))
 {
     Uint32 timeoutInMilliseconds;
     SDL_TimerID timerID;