Skip to content

Commit

Permalink
use proper format for unsigned long
Browse files Browse the repository at this point in the history
  • Loading branch information
brow committed Sep 16, 2013
1 parent 27e4dd5 commit 37cff3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/PDFExampleViewController.m
Expand Up @@ -27,7 +27,7 @@ - (void)dealloc {

- (void) displayPageNumber:(NSUInteger)pageNumber {
self.navigationItem.title = [NSString stringWithFormat:
@"Page %u of %u",
@"Page %u of %lu",
pageNumber,
CGPDFDocumentGetNumberOfPages(pdf)];
}
Expand Down

0 comments on commit 37cff3e

Please sign in to comment.