We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 3877

Summary: missing SDLCALL in SDLTest_ExampleHitTestCallback
Product: SDL Reporter: Ozkan Sezer <sezeroz>
Component: *don't know*Assignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: trivial    
Priority: P2    
Version: HG 2.0   
Hardware: All   
OS: All   

Description Ozkan Sezer 2017-10-12 16:44:59 UTC
Following trivial patch adds missing SDLCALL to SDLTest_ExampleHitTestCallback()

diff --git a/src/test/SDL_test_common.c b/src/test/SDL_test_common.c
--- a/src/test/SDL_test_common.c
+++ b/src/test/SDL_test_common.c
@@ -661,7 +661,7 @@
     return (icon);
 }
 
-static SDL_HitTestResult
+static SDL_HitTestResult SDLCALL
 SDLTest_ExampleHitTestCallback(SDL_Window *win, const SDL_Point *area, void *data)
 {
     int w, h;
Comment 1 Sam Lantinga 2017-10-12 21:25:25 UTC
Fixed, thanks!
https://hg.libsdl.org/SDL/rev/f5b657276413