project_files/Android-build/SDL-android-project/jni/SDL/src/video/android/SDL_androidtouch.c
branchhedgeroid
changeset 5550 50650032c251
parent 5540 76392a62da2f
--- 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: