Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed 64-bit compile warnings on Visual C++
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Mar 6, 2013
1 parent d4331d7 commit 249bd54
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/video/windows/SDL_windowsevents.c
Expand Up @@ -67,7 +67,7 @@
#endif

static SDL_Scancode
WindowsScanCodeToSDLScanCode( int lParam, int wParam )
WindowsScanCodeToSDLScanCode( LPARAM lParam, WPARAM wParam )
{
SDL_Scancode code;
char bIsExtended;
Expand Down
3 changes: 2 additions & 1 deletion src/video/windows/SDL_windowsmessagebox.c
Expand Up @@ -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 */
Expand Down
2 changes: 1 addition & 1 deletion src/video/windows/SDL_windowswindow.h
Expand Up @@ -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;

Expand Down

0 comments on commit 249bd54

Please sign in to comment.