title: Incompatible pointer to integer conversion sending 'NSNumber *' to parameter of type 'long'
body: <p>I'm converting my iOS 6 app to work in iOS 7.  It uses CoreData and in my model I have a few entities and attributes defined.  One of the attributes is a deliveryid and the type is set to Integer 32.</p>
  
  <p>I have NSManagedObject classes created for my core data entities and these worked fine previously in XCode 5 with iOS 6.</p>
  
  <p>When I bring those NSManagedObject classes over to target iOS 7 I get the error "Incompatible pointer to integer conversion sending 'NSNumber *' to parameter of type 'long'".</p>
  
  <p>For the deliveryid attribute it is defined as follows in the .h file:</p>
  
  <pre><code>@property (nonatomic, strong) NSNumber * deliveryid;
  </code></pre>
  
  <p>then in the .m file I have:</p>
  
  <pre><code>NSString *strDeliveryID = [[NSNumber numberWithLong:self.deliveryid] stringValue];
  </code></pre>
  
  <p>where I try to convert to a string value.  This previously didn't create any warnings or issues when compiled.</p>
  
  <p>I am unable to solve why the issue is appearing for iOS 7.  Can somebody help please?</p>