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 - missing SDLCALL in SDLTest_ExampleHitTestCallback
Summary: missing SDLCALL in SDLTest_ExampleHitTestCallback
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: *don't know* (show other bugs)
Version: HG 2.0
Hardware: All All
: P2 trivial
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-12 16:44 UTC by Ozkan Sezer
Modified: 2017-10-12 21:25 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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