Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 375147fd0afef6076742fb30afaaded27093483d 1 parent 10540ad
@seanm seanm authored
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);
}
Please sign in to comment.
Something went wrong with that request. Please try again.