src/video/cocoa/SDL_cocoawindow.m
changeset 4676 99b4560b7aa1
parent 4675 641c13b0ce5f
child 4678 f8431f66613d
     1.1 --- a/src/video/cocoa/SDL_cocoawindow.m	Thu Jul 29 12:26:59 2010 -0400
     1.2 +++ b/src/video/cocoa/SDL_cocoawindow.m	Fri Jul 30 23:18:35 2010 +0400
     1.3 @@ -27,7 +27,6 @@
     1.4  #include "../../events/SDL_mouse_c.h"
     1.5  #include "../../events/SDL_touch_c.h"
     1.6  #include "../../events/SDL_windowevents_c.h"
     1.7 -
     1.8  #include "SDL_cocoavideo.h"
     1.9  
    1.10  static __inline__ void ConvertNSRect(NSRect *r)
    1.11 @@ -299,7 +298,7 @@
    1.12      while (touch) {
    1.13          long touchId = (long)[touch device];
    1.14          if (!SDL_GetTouch(touchId)) {
    1.15 -	  printf("Adding touch: %i\n",touchId)
    1.16 +	  printf("Adding touch: %li\n",touchId);
    1.17              SDL_Touch touch;
    1.18  
    1.19              touch.id = touchId;
    1.20 @@ -316,7 +315,7 @@
    1.21              if (SDL_AddTouch(&touch, "") < 0) {
    1.22                  continue;
    1.23              }
    1.24 -	    printf("Success, added touch: %i\n",touchId)
    1.25 +	    printf("Success, added touch: %lin",touchId);
    1.26          } 
    1.27          float x = [touch normalizedPosition].x;
    1.28          float y = [touch normalizedPosition].y;