浏览代码

Fixed compiler warning on Android

Sam Lantinga 6 年之前
父节点
当前提交
791df27a30
共有 1 个文件被更改,包括 1 次插入1 次删除
  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.
 * \return Timer id or -1 on failure.
 */
 */
 static SDL_TimerID
 static SDL_TimerID
-SDLTest_SetTestTimeout(int timeout, void (*callback)())
+SDLTest_SetTestTimeout(int timeout, void (*callback)(void))
 {
 {
     Uint32 timeoutInMilliseconds;
     Uint32 timeoutInMilliseconds;
     SDL_TimerID timerID;
     SDL_TimerID timerID;