Fixed 64-bit compile warnings on Visual C++

This commit is contained in:
Sam Lantinga 2013-03-06 11:59:19 -08:00
parent 85d6d00788
commit fb49761922
3 changed files with 4 additions and 3 deletions

View file

@ -67,7 +67,7 @@
#endif #endif
static SDL_Scancode static SDL_Scancode
WindowsScanCodeToSDLScanCode( int lParam, int wParam ) WindowsScanCodeToSDLScanCode( LPARAM lParam, WPARAM wParam )
{ {
SDL_Scancode code; SDL_Scancode code;
char bIsExtended; char bIsExtended;

View file

@ -231,7 +231,8 @@ int
WIN_ShowMessageBox(const SDL_MessageBoxData *messageboxdata, int *buttonid) WIN_ShowMessageBox(const SDL_MessageBoxData *messageboxdata, int *buttonid)
{ {
WIN_DialogData *dialog; WIN_DialogData *dialog;
int i, x, y, w, h, gap, which; int i, x, y, w, h, gap;
INT_PTR which;
const SDL_MessageBoxButtonData *buttons = messageboxdata->buttons; const SDL_MessageBoxButtonData *buttons = messageboxdata->buttons;
/* FIXME: Need a better algorithm for laying out the message box */ /* FIXME: Need a better algorithm for laying out the message box */

View file

@ -32,7 +32,7 @@ typedef struct
HBITMAP hbm; HBITMAP hbm;
WNDPROC wndproc; WNDPROC wndproc;
SDL_bool created; SDL_bool created;
Uint32 mouse_button_flags; WPARAM mouse_button_flags;
struct SDL_VideoData *videodata; struct SDL_VideoData *videodata;
} SDL_WindowData; } SDL_WindowData;