Skip to content
This repository was archived by the owner on Apr 29, 2020. It is now read-only.

Commit

Permalink
Merge pull request #21 from martinjbaker/issue-format-string
Browse files Browse the repository at this point in the history
fixed string for 32/64-bit compatibility
  • Loading branch information
mbcharbonneau committed Mar 19, 2016
2 parents 493b1f2 + d296065 commit 9c3bc9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UIImage+Resize.m
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ - (UIImage *)resizedImageWithContentMode:(UIViewContentMode)contentMode
break;

default:
[NSException raise:NSInvalidArgumentException format:@"Unsupported content mode: %d", contentMode];
[NSException raise:NSInvalidArgumentException format:@"Unsupported content mode: %ld", (long)contentMode];
}

CGSize newSize = CGSizeMake(self.size.width * ratio, self.size.height * ratio);
Expand Down

0 comments on commit 9c3bc9a

Please sign in to comment.