Browse Source

fix compile error on tiger

rdb 13 years ago
parent
commit
645ee9d05f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      panda/src/tinydisplay/tinyOsxGraphicsWindow.mm

+ 2 - 2
panda/src/tinydisplay/tinyOsxGraphicsWindow.mm

@@ -58,8 +58,8 @@ static void Post_Event_Wait(unsigned short type, unsigned int data1 , unsigned i
                                  windowNumber:target_window
                                  windowNumber:target_window
                                       context:nil
                                       context:nil
                                       subtype:type
                                       subtype:type
-                                        data1:(NSInteger)data1
-                                        data2:(NSInteger)&w];
+                                        data1:data1
+                                        data2:(int)&w];
 
 
     [NSApp postEvent:ev atStart:NO];
     [NSApp postEvent:ev atStart:NO];
     while (!w.work_done)
     while (!w.work_done)