Browse files

Fixed theoretical 64 to 32 bit truncation by refining a cast.

  • Loading branch information...
1 parent 10540ad commit 375147fd0afef6076742fb30afaaded27093483d @seanm seanm committed Dec 4, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 templates/machine.m.motemplate
View
4 templates/machine.m.motemplate
@@ -143,8 +143,8 @@ const struct <$managedObjectClassName$>FetchedProperties <$managedObjectClassNam
result = [results objectAtIndex:0];
break;
default:
- NSLog(@"WARN fetch request <$FetchRequest.name$>: 0 or 1 objects expected, %u found (substitutionVariables:%@, results:%@)",
- (unsigned)[results count],
+ NSLog(@"WARN fetch request <$FetchRequest.name$>: 0 or 1 objects expected, %lu found (substitutionVariables:%@, results:%@)",
+ (unsigned long)[results count],
substitutionVariables,
results);
}

0 comments on commit 375147f

Please sign in to comment.