| Summary: | Build error in SDL_hidapi_steam.c | ||
|---|---|---|---|
| Product: | SDL | Reporter: | David Ludwig <dll> |
| Component: | joystick | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | HG 2.0 | ||
| Hardware: | iPhone/iPod touch | ||
| OS: | Other | ||
| Attachments: | Fix #1 | ||
This is fixed, thanks! |
Created attachment 4272 [details] Fix #1 When trying to build the latest from SDL HG (at changeset 13646:784ce9766fb9), specifically for iOS via CMake, I get build errors in SDL_hidapi_steam.c, whereby HIDAPI_JoystickDisconnected is being called with the wrong number of arguments. I'll attach a potential fix. I'm unfamiliar with that code, and don't want to break anything there, so a code review seems good. The patch is pretty small (two lines changed).