Skip to content
This repository has been archived by the owner on Aug 10, 2020. It is now read-only.

Commit

Permalink
Fixed warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcel Ruegenberg committed Jul 9, 2014
1 parent 9c1be7d commit 7811e95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CoreFoundation/Date+Time/TimeHelpers.m
Expand Up @@ -54,7 +54,7 @@
{
NSInteger hours = timeLength / (60 * 60);
NSInteger minutes = (NSInteger) ceil(((float)(timeLength - (hours * 60 * 60))) / 60.0);
prefix = [NSString stringWithFormat:([prefix isEqualToString:@""] ? @"%@%d:%02d" : @"%@, %d:%02d"), prefix, hours, minutes];
prefix = [NSString stringWithFormat:([prefix isEqualToString:@""] ? @"%@%d:%02d" : @"%@, %d:%02ld"), prefix, hours, (long)minutes];
}

return prefix;
Expand Down

0 comments on commit 7811e95

Please sign in to comment.