diff options
Diffstat (limited to 'platform/ios/Classes/MuPrintPageRenderer.m')
-rw-r--r-- | platform/ios/Classes/MuPrintPageRenderer.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/ios/Classes/MuPrintPageRenderer.m b/platform/ios/Classes/MuPrintPageRenderer.m index 19b7e62f..a0ec7cf8 100644 --- a/platform/ios/Classes/MuPrintPageRenderer.m +++ b/platform/ios/Classes/MuPrintPageRenderer.m @@ -37,14 +37,14 @@ const int MaxStripPixels = 1024*1024; return npages; } -static fz_page *getPage(fz_document *doc, int pageIndex) +static fz_page *getPage(fz_document *doc, NSInteger pageIndex) { __block fz_page *page = NULL; dispatch_sync(queue, ^{ fz_try(ctx) { - page = fz_load_page(ctx, doc, pageIndex); + page = fz_load_page(ctx, doc, (int)pageIndex); } fz_catch(ctx) { |