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 5371

Summary: [PATCH] Rawinput: Fix truncating cast of string length.
Product: SDL Reporter: Joel Linn <jl>
Component: joystickAssignee: 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: Patch to explicit cast.

Description Joel Linn 2020-12-01 00:06:38 UTC
Created attachment 4548 [details]
Patch to explicit cast.

Fixes an implicit truncation of a string length on 64bit systems.
Comment 1 Sam Lantinga 2020-12-01 21:39:00 UTC
Fixed, thanks!
https://hg.libsdl.org/SDL/rev/3ff091a02f7d