Commit 791df27a302c8245df2805f924dee5ff730c558d

Sam Lantinga 2019-09-09T13:50:46

Fixed compiler warning on Android

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/test/SDL_test_harness.c b/src/test/SDL_test_harness.c
index 228f98c..271f695 100644
--- a/src/test/SDL_test_harness.c
+++ b/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;