diff options
Diffstat (limited to 'source/cbz/mutiff.c')
-rw-r--r-- | source/cbz/mutiff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/cbz/mutiff.c b/source/cbz/mutiff.c index 2dcf4e5b..57e90ea3 100644 --- a/source/cbz/mutiff.c +++ b/source/cbz/mutiff.c @@ -119,7 +119,7 @@ tiff_open_document_with_stream(fz_context *ctx, fz_stream *file) { tiff_document *doc; - doc = fz_new_document(ctx, sizeof *doc); + doc = fz_new_document(ctx, tiff_document); doc->super.close = (fz_document_close_fn *)tiff_close_document; doc->super.count_pages = (fz_document_count_pages_fn *)tiff_count_pages; |