Merge pull request #201 from inverse-inc/warning-removal-again

Warning removal, next part.
This commit is contained in:
Francis Lachapelle
2016-03-09 15:59:11 -05:00
14 changed files with 43 additions and 23 deletions

View File

@@ -1043,8 +1043,8 @@
if (nameInContainer)
[_ms appendFormat:@" name=%@", nameInContainer];
if (container)
[_ms appendFormat:@" container=0x%08X/%@",
(unsigned int)container, [container valueForKey:@"nameInContainer"]];
[_ms appendFormat:@" container=%p/%@",
container, [container valueForKey:@"nameInContainer"]];
}
- (NSString *) description
@@ -1052,7 +1052,7 @@
NSMutableString *ms;
ms = [NSMutableString stringWithCapacity:64];
[ms appendFormat:@"<0x%08X[%@]:", (unsigned int) self, NSStringFromClass([self class])];
[ms appendFormat:@"<%p[%@]:", self, NSStringFromClass([self class])];
[self appendAttributesToDescription:ms];
[ms appendString:@">"];
@@ -1061,8 +1061,8 @@
- (NSString *) loggingPrefix
{
return [NSString stringWithFormat:@"<0x%08X[%@]:%@>",
(unsigned int) self, NSStringFromClass([self class]),
return [NSString stringWithFormat:@"<%p[%@]:%@>",
self, NSStringFromClass([self class]),
[self nameInContainer]];
}