Commit 5fc2017661a7b02ab07a0b3594723d7d690a77ce

Sam Lantinga 2017-10-12T14:25:07

Fixed bug 3877 - missing SDLCALL in SDLTest_ExampleHitTestCallback Ozkan Sezer Following trivial patch adds missing SDLCALL to SDLTest_ExampleHitTestCallback()

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/test/SDL_test_common.c b/src/test/SDL_test_common.c
index f288d23..d3101ea 100644
--- a/src/test/SDL_test_common.c
+++ b/src/test/SDL_test_common.c
@@ -676,7 +676,7 @@ SDLTest_LoadIcon(const char *file)
     return (icon);
 }
 
-static SDL_HitTestResult
+static SDL_HitTestResult SDLCALL
 SDLTest_ExampleHitTestCallback(SDL_Window *win, const SDL_Point *area, void *data)
 {
     int w, h;