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 - [PATCH] Rawinput: Fix truncating cast of string length.
Summary: [PATCH] Rawinput: Fix truncating cast of string length.
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: joystick (show other bugs)
Version: 2.0.13
Hardware: x86_64 Windows 10
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-01 00:06 UTC by Joel Linn
Modified: 2020-12-01 21:39 UTC (History)
0 users

See Also:


Attachments
Patch to explicit cast. (868 bytes, patch)
2020-12-01 00:06 UTC, Joel Linn
Details | Diff

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