title: Error "Cast from pointer to smaller type 'int' loses information" in EAGLView.mm when update Xcode to 5.1 (5B130a)
body: <p>Yesterday, I updated Xcode to the newest version <code>(5.1 (5B130a))</code> to compatible with <code>iOS 7.1</code>. Then I build my project, I get the error <code>"Cast from pointer to smaller type 'int' loses information"</code> in <code>EAGLView.mm</code> file (<code>line 408</code>) when 64-bit simulators (e.g.: iPhone Retina 4-inch 64-bit) is selected.</p>
  
  <p>I'm using <code>cocos2d-x-2.2.2</code>. Before I update Xcode, my project still can build and run normally with all devices.</p>
  
  <p>Thanks for all recommendation.</p>
  
  <p>Update: Today, i download the latest version of cocos2d-x (cocos2d-x 2.2.3). But the problem has still happened.</p>
  
  <p>Here is some piece of code where that error occur:</p>
  
  <p><strong><code>/cocos2d-x-2.2.2/cocos2dx/platform/ios/EAGLView.mm:408:18: Cast from pointer to smaller type 'int' loses information</code></strong></p>
  
  <pre><code>// Pass the touches to the superview
  #pragma mark EAGLView - Touch Delegate
  - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
  {
      if (isKeyboardShown_)
      {
          [self handleTouchesAfterKeyboardShow];
          return;
      }
  
      int ids[IOS_MAX_TOUCHES_COUNT] = {0};
      float xs[IOS_MAX_TOUCHES_COUNT] = {0.0f};
      float ys[IOS_MAX_TOUCHES_COUNT] = {0.0f};
  
      int i = 0;
      for (UITouch *touch in touches) {
          ids[i] = (int)touch;     // error occur here
          xs[i] = [touch locationInView: [touch view]].x * view.contentScaleFactor;;
          ys[i] = [touch locationInView: [touch view]].y * view.contentScaleFactor;;
          ++i;
      }
      cocos2d::CCEGLView::sharedOpenGLView()-&gt;handleTouchesBegin(i, ids, xs, ys);
  }
  </code></pre>