diff src/cdrom/win32/SDL_syscdrom.c @ 1456:84de7511f79f

Fixed a bunch of 64-bit compatibility problems
author Sam Lantinga <slouken@libsdl.org>
date Wed, 01 Mar 2006 09:43:47 +0000
parents bb6839704ed6
children 38a12fd1a2c1
line wrap: on
line diff
--- a/src/cdrom/win32/SDL_syscdrom.c	Mon Feb 27 22:14:40 2006 +0000
+++ b/src/cdrom/win32/SDL_syscdrom.c	Wed Mar 01 09:43:47 2006 +0000
@@ -111,7 +111,7 @@
 {
 	MCIERROR mci_error;
 
-	mci_error = mciSendCommand(SDL_mciID[id], msg, flags, (DWORD)arg);
+	mci_error = mciSendCommand(SDL_mciID[id], msg, flags, (DWORD_PTR)arg);
 	if ( mci_error ) {
 		char error[256];