diff -r 73f2fec65257 -r 50650032c251 project_files/Android-build/SDL-android-project/jni/SDL/src/video/android/SDL_androidtouch.c --- a/project_files/Android-build/SDL-android-project/jni/SDL/src/video/android/SDL_androidtouch.c Thu Aug 11 15:03:21 2011 +0200 +++ b/project_files/Android-build/SDL-android-project/jni/SDL/src/video/android/SDL_androidtouch.c Mon Aug 15 21:45:27 2011 +0200 @@ -27,7 +27,7 @@ #include "../../events/SDL_touch_c.h" #include "SDL_androidtouch.h" - +#include "stdlib.h" #define ACTION_DOWN 0 #define ACTION_UP 1 @@ -38,7 +38,7 @@ #define ACTION_POINTER_UP 6 -void Android_OnTouch(int action, int pointerId, float x, float y, float p) +void Android_OnTouch(int action, SDL_FingerID pointerId, float x, float y, float p) { if (!Android_Window) { return; @@ -61,7 +61,6 @@ if(SDL_AddTouch(&touch, "") < 0) return; } - switch(action){ case ACTION_DOWN: case ACTION_POINTER_DOWN: