title: Xcode warning: Format specifies type 'long' but the argument has type 'int _Nullable'
body: <p>I get this warning for the following line of code:</p>
  
  <pre><code>    NSLog(@"selected segment: %li", _segmentControl.selectedSegmentIndex);
  </code></pre>
  
  <p>The property <code>selectedSegmentIndex</code> is of type <code>NSInteger</code>.</p>
  
  <p>If I change the format to <code>%i</code> i get the following warning:</p>
  
  <pre><code>Format specifies type 'int' but the argument has type 'long _Nullable'
  </code></pre>
  
  <p>Are there any new format specifiers for Nullable types or is this just a bug in Xcode 7?</p>