Mercurial > sdl-ios-xcode
changeset 5076:8bf5781fc582
Fixed size_t warnings on 64-bit build
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 22 Jan 2011 15:58:21 -0800 |
parents | 906d7293bb47 |
children | 37b582b8bb07 de59e0218aa2 |
files | src/events/SDL_touch.c src/stdlib/SDL_string.c |
diffstat | 2 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/events/SDL_touch.c Sat Jan 22 00:33:37 2011 -0800 +++ b/src/events/SDL_touch.c Sat Jan 22 15:58:21 2011 -0800 @@ -100,7 +100,8 @@ SDL_AddTouch(const SDL_Touch * touch, char *name) { SDL_Touch **touchPads; - int index,length; + int index; + size_t length; if (SDL_GetTouchIndexId(touch->id) != -1) { SDL_SetError("Touch ID already in use");