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
static SDL_Scancode
WindowsScanCodeToSDLScanCode( int lParam, int wParam )
WindowsScanCodeToSDLScanCode( LPARAM lParam, WPARAM wParam )
{
SDL_Scancode code;
char bIsExtended;

View file

@ -231,7 +231,8 @@ int
WIN_ShowMessageBox(const SDL_MessageBoxData *messageboxdata, int *buttonid)
{
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;
/* FIXME: Need a better algorithm for laying out the message box */

View file

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