Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
1455:f487bb150acc | 1456:84de7511f79f |
---|---|
109 /* General ioctl() CD-ROM command function */ | 109 /* General ioctl() CD-ROM command function */ |
110 static int SDL_SYS_CDioctl(int id, UINT msg, DWORD flags, void *arg) | 110 static int SDL_SYS_CDioctl(int id, UINT msg, DWORD flags, void *arg) |
111 { | 111 { |
112 MCIERROR mci_error; | 112 MCIERROR mci_error; |
113 | 113 |
114 mci_error = mciSendCommand(SDL_mciID[id], msg, flags, (DWORD)arg); | 114 mci_error = mciSendCommand(SDL_mciID[id], msg, flags, (DWORD_PTR)arg); |
115 if ( mci_error ) { | 115 if ( mci_error ) { |
116 char error[256]; | 116 char error[256]; |
117 | 117 |
118 mciGetErrorString(mci_error, error, 256); | 118 mciGetErrorString(mci_error, error, 256); |
119 SDL_SetError("mciSendCommand() error: %s", error); | 119 SDL_SetError("mciSendCommand() error: %s", error); |