summaryrefslogtreecommitdiff
path: root/source/fitz/document.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/fitz/document.c')
-rw-r--r--source/fitz/document.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/fitz/document.c b/source/fitz/document.c
index 41abb736..2fb64ad9 100644
--- a/source/fitz/document.c
+++ b/source/fitz/document.c
@@ -410,8 +410,8 @@ fz_drop_annot(fz_context *ctx, fz_annot *annot)
}
}
-void *
-fz_new_page(fz_context *ctx, int size)
+fz_page *
+fz_new_page_of_size(fz_context *ctx, int size)
{
fz_page *page = Memento_label(fz_calloc(ctx, 1, size), "fz_page");
page->refs = 1;