diff src/events/SDL_mouse.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 08747e24a50f
children 6bb9952d5029
line wrap: on
line diff
--- a/src/events/SDL_mouse.c	Sat Sep 05 21:31:50 2009 +0000
+++ b/src/events/SDL_mouse.c	Sat Sep 05 23:37:35 2009 +0000
@@ -70,7 +70,8 @@
 {
     SDL_Mouse **mice;
     int selected_mouse;
-    int index, length;
+    int index;
+    size_t length;
 
     if (SDL_GetMouseIndexId(mouse->id) != -1) {
         SDL_SetError("Mouse ID already in use");