mirror of
https://github.com/yawut/SDL.git
synced 2026-08-28 03:34:44 -05:00
Fixed 64-bit compile warnings on Visual C++
This commit is contained in:
@@ -67,7 +67,7 @@
|
||||
#endif
|
||||
|
||||
static SDL_Scancode
|
||||
WindowsScanCodeToSDLScanCode( int lParam, int wParam )
|
||||
WindowsScanCodeToSDLScanCode( LPARAM lParam, WPARAM wParam )
|
||||
{
|
||||
SDL_Scancode code;
|
||||
char bIsExtended;
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user