mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-05-24 05:14:31 +08:00
Cleanup log warnings on OS X related to NSUInteger typedef differences (unsigned int vs unsigned long)
This commit is contained in:
@@ -43,8 +43,8 @@
|
||||
|
||||
- (NSUInteger)hash
|
||||
{
|
||||
int prime = 31;
|
||||
int result = 1;
|
||||
NSUInteger prime = 31;
|
||||
NSUInteger result = 1;
|
||||
result = prime *[self.userData hash] ? [self.mapping hash] : [self.userData hash];
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user