Permalink
Browse files

Improved descriptions of 64-bit integers.

  • Loading branch information...
1 parent 11b00db commit 7cfe8849509c5a897ffb2216bc85b258d0cf1c0a @robrix committed Mar 20, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 RXAssertions.m
View
4 RXAssertions.m
@@ -75,11 +75,11 @@ BOOL RXAssertionHelperNSPointComparison(const void *a, const void *b) {
}
NSString *RXAssertionHelperInt64Description(const void *ref) {
- return [NSString stringWithFormat: @"%d", *RXUnionCast(ref, const int64_t *)];
+ return [NSString stringWithFormat: @"%qi", *RXUnionCast(ref, const int64_t *)];
}
NSString *RXAssertionHelperUInt64Description(const void *ref) {
- return [NSString stringWithFormat: @"%u", *RXUnionCast(ref, const uint64_t *)];
+ return [NSString stringWithFormat: @"%qu", *RXUnionCast(ref, const uint64_t *)];
}
NSString *RXAssertionHelperFloatDescription(const void *ref) {

0 comments on commit 7cfe884

Please sign in to comment.