Mercurial > sdl-ios-xcode
comparison src/video/wincommon/SDL_sysmouse.c @ 1456:84de7511f79f
Fixed a bunch of 64-bit compatibility problems
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 01 Mar 2006 09:43:47 +0000 |
parents | bb6839704ed6 |
children | 4aac8563c296 |
comparison
equal
deleted
inserted
replaced
1455:f487bb150acc | 1456:84de7511f79f |
---|---|
170 aptr += pad; | 170 aptr += pad; |
171 } | 171 } |
172 | 172 |
173 /* Create the cursor */ | 173 /* Create the cursor */ |
174 cursor->curs = CreateCursor( | 174 cursor->curs = CreateCursor( |
175 (HINSTANCE)GetWindowLong(SDL_Window, GWL_HINSTANCE), | 175 (HINSTANCE)GetWindowLongPtr(SDL_Window, GWL_HINSTANCE), |
176 hot_x, hot_y, allowed_x, allowed_y, | 176 hot_x, hot_y, allowed_x, allowed_y, |
177 cursor->ands, cursor->xors); | 177 cursor->ands, cursor->xors); |
178 if ( cursor->curs == NULL ) { | 178 if ( cursor->curs == NULL ) { |
179 WIN_FreeWMCursor(NULL, cursor); | 179 WIN_FreeWMCursor(NULL, cursor); |
180 SDL_SetError("Windows couldn't create the requested cursor"); | 180 SDL_SetError("Windows couldn't create the requested cursor"); |