diff src/video/win32/SDL_win32events.c @ 3253:5d7ef5970073

Fixed issues building 64-bit Windows binary
author Sam Lantinga <slouken@libsdl.org>
date Sat, 05 Sep 2009 23:37:35 +0000
parents 6338b7f2d024
children 83c87f2b2aab
line wrap: on
line diff
--- a/src/video/win32/SDL_win32events.c	Sat Sep 05 21:31:50 2009 +0000
+++ b/src/video/win32/SDL_win32events.c	Sat Sep 05 23:37:35 2009 +0000
@@ -141,7 +141,7 @@
             /* if we receive such data we need to update the pressure */
             SDL_VideoData *videodata = data->videodata;
             if (videodata->wintabDLL
-                && videodata->WTPacket((HCTX) lParam, wParam, &packet)) {
+                && videodata->WTPacket((HCTX) lParam, (UINT) wParam, &packet)) {
                 SDL_ChangeEnd(tablet, (int) packet.pkCursor);
                 pressure = (int) packet.pkNormalPressure;
             }