diff options
author | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2014-06-04 13:30:06 +0000 |
---|---|---|
committer | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2014-06-04 13:30:06 +0000 |
commit | d84ed035bea6e5606bb1ef76bc33c3bff87c2f7b (patch) | |
tree | 1ef2155d8f4e818dd89365c3003c70fa8338753a /UnitTesting/GTMSenTestCase.h | |
parent | 24ccd4518ab4a6c9cc8095de29743e3251040bc0 (diff) |
Cast NSComparisonResult to long before printing for 64-bit compatibility.
DELTA=1 (0 added, 0 deleted, 1 changed)
DELTA_BY_EXTENSION=h=1
Diffstat (limited to 'UnitTesting/GTMSenTestCase.h')
-rw-r--r-- | UnitTesting/GTMSenTestCase.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/UnitTesting/GTMSenTestCase.h b/UnitTesting/GTMSenTestCase.h index dabad55..8d98dd7 100644 --- a/UnitTesting/GTMSenTestCase.h +++ b/UnitTesting/GTMSenTestCase.h @@ -292,7 +292,7 @@ NSString *STComposeString(NSString *, ...); } else if (![_a2value isKindOfClass:[NSString class]]) { \ _failure = [NSString stringWithFormat:@"(%@) is not an NSString* (%@)", @#a2, [_a2value class]]; \ } else if ((_result = [_a1value compare:_a2value]) != NSOrderedSame) { \ - _failure = [NSString stringWithFormat:@"(%@) vs (%@) == %d", _a1value, _a2value, _result]; \ + _failure = [NSString stringWithFormat:@"(%@) vs (%@) == %ld", _a1value, _a2value, (long)_result]; \ } \ } \ @catch (NSException *_exception) { \ |