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 3806

Summary: Fixes for MSVC compiler warnings for b3bb3855bc41
Product: SDL Reporter: Simon Hug <chli.hug>
Component: *don't know*Assignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: trivial    
Priority: P2    
Version: HG 2.0   
Hardware: All   
OS: Windows (All)   
Attachments: Fixes some compiler warnings.

Description Simon Hug 2017-09-09 01:13:31 UTC
Created attachment 2917 [details]
Fixes some compiler warnings.

These are the remaining compiler warnings I see in the current tip b3bb3855bc41.

- SDL_test_log.c defines _CRT_SECURE_NO_WARNINGS without checking if it was already set.

- SDL_windowskeyboard.c converts integers to pointers without going over the (U)INT_PTR types. That bothers MSVC.
Comment 1 Sam Lantinga 2017-09-09 01:26:50 UTC
Fixed, thanks!
https://hg.libsdl.org/SDL/rev/510e461e584a