title: Warning: Implicit conversion loses Integer precision in xcode 6
body: <p>I know it could be a duplicate, but i got about 30 <strong>Implicit conversion loses Integer precision</strong> warnings in my ios project after updating xcode to version 6.</p>
  
  <p>First Example:</p>
  
  <pre><code>NSArray * stations = [self stationsJSON][KEY_ITEM_LIST];
  
  int newSize = (stations.count + 1); // Implicit conversion loses Integer precision: 'unsigned long' to 'int'
  </code></pre>
  
  <p>Second Example:</p>
  
  <pre><code>- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
      ...
      int index = indexPath.row / 2; // Implicit conversion loses Integer precision: 'long' to 'int'
      ...
  }
  </code></pre>
  
  <p><strong><em>I know what the warning means. Using NSInteger can help to avoid this warning.</em></strong> </p>
  
  <p>I don't understand, <strong>why there was no warnings in xcode 5</strong>? And why there is no warning after i change the line </p>
  
  <pre><code>int index = indexPath.row / 2;
  </code></pre>
  
  <p>to </p>
  
  <pre><code>int index = indexPath.row / 2i;
  </code></pre>