| Summary: | [PATCH] WGI: Fix wrong level of indirection and implicit truncating cast. | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Joel Linn <jl> |
| Component: | joystick | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | 2.0.13 | ||
| Hardware: | x86_64 | ||
| OS: | Windows 10 | ||
| Attachments: | fix | ||
Fixed, thanks! https://hg.libsdl.org/SDL/rev/22cd290ba2cf |
Created attachment 4489 [details] fix This fixes two types of MSVC compiler warnings. - One parameter in the function signatures of two WGI event handlers had one level of indirection too much (and did not match Windows SDK headers). The indirection was cast away so it still worked. - size_t was implicitly cast to UINT32 for a number of (constant) string lengths.