diff options
Diffstat (limited to 'source/img')
-rw-r--r-- | source/img/muimage.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/source/img/muimage.c b/source/img/muimage.c index 7a6dfc3a..26f4a0f3 100644 --- a/source/img/muimage.c +++ b/source/img/muimage.c @@ -145,12 +145,12 @@ image_rebind(image_document *doc, fz_context *ctx) static void image_init_document(image_document *doc) { - doc->super.close = (void*)image_close_document; - doc->super.count_pages = (void*)image_count_pages; - doc->super.load_page = (void*)image_load_page; - doc->super.bound_page = (void*)image_bound_page; - doc->super.run_page_contents = (void*)image_run_page; - doc->super.free_page = (void*)image_free_page; - doc->super.meta = (void*)image_meta; - doc->super.rebind = (void*)image_rebind; + doc->super.close = (fz_document_close_fn *)image_close_document; + doc->super.count_pages = (fz_document_count_pages_fn *)image_count_pages; + doc->super.load_page = (fz_document_load_page_fn *)image_load_page; + doc->super.bound_page = (fz_document_bound_page_fn *)image_bound_page; + doc->super.run_page_contents = (fz_document_run_page_contents_fn *)image_run_page; + doc->super.free_page = (fz_document_free_page_fn *)image_free_page; + doc->super.meta = (fz_document_meta_fn *)image_meta; + doc->super.rebind = (fz_document_rebind_fn *)image_rebind; } |