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 123

Summary: Quick'n'Dirty patch for Win64
Product: SDL Reporter: Sam Lantinga <slouken>
Component: *don't know*Assignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: don't know   
Hardware: x86   
OS: Windows (XP)   
Attachments: SDL-1.2.8_64.diff

Description Sam Lantinga 2006-01-31 10:37:04 UTC
Date: Fri, 29 Jul 2005 01:52:33 +0200
From: Michael Lutz <Michi_cc@gmx.net>
Subject: [SDL] Quick'n'Dirty patch for Win64

Hi,

I made an quick and dirty patch to get SDL 1.2.8 compile cleanly for
Win64 with Visual Studio 2005.

It's not really testet, but the sample seem to work. If anyone is able
to test it more thorougly, it's much apreciated.

Changes:
 * Removed c_dfDIKeyboard and friends; wouldn't work otherwise.
 * Many explicit typecasting to quiet the compiler.


I've got project files as well, but I don't know if I can attach zip-files.
Comment 1 Sam Lantinga 2006-01-31 10:38:18 UTC
Created attachment 59 [details]
SDL-1.2.8_64.diff

There's a lot of typecasting where the SDL types should be extended to handle 64-bit systems.  We should probably support this in SDL 1.3, and change the SDL data structures accordingly.
Comment 2 Ryan C. Gordon 2006-01-31 10:49:40 UTC
Some of these changes are better than others...let me clean this one up before committing it.

--ryan.

Comment 3 Sam Lantinga 2006-03-09 10:16:37 UTC
The current CVS code should be fine on Win64 now.