mirror of
https://github.com/encounter/SDL.git
synced 2025-12-18 01:15:24 +00:00
merge fallout: Patched to compile, fixed some compiler warnings, etc.
This commit is contained in:
@@ -962,7 +962,6 @@ WIN_WindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
UINT i;
|
||||
HDROP drop = (HDROP) wParam;
|
||||
SDL_bool isstack;
|
||||
UINT count = DragQueryFile(drop, 0xFFFFFFFF, NULL, 0);
|
||||
for (i = 0; i < count; ++i) {
|
||||
SDL_bool isstack;
|
||||
|
||||
@@ -113,7 +113,7 @@ WIN_CreateCursor(SDL_Surface * surface, int hot_x, int hot_y)
|
||||
bmh.bV4BlueMask = 0x000000FF;
|
||||
|
||||
maskbitslen = ((surface->w + (pad - (surface->w % pad))) / 8) * surface->h;
|
||||
maskbits = SDL_small_alloc(Uint8,maskbitslen);
|
||||
maskbits = SDL_small_alloc(Uint8, maskbitslen, &isstack);
|
||||
if (maskbits == NULL) {
|
||||
SDL_OutOfMemory();
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user