summaryrefslogtreecommitdiff
path: root/source/tools/pdfpages.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/tools/pdfpages.c')
-rw-r--r--source/tools/pdfpages.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/tools/pdfpages.c b/source/tools/pdfpages.c
index a0f04e7d..9f688ac5 100644
--- a/source/tools/pdfpages.c
+++ b/source/tools/pdfpages.c
@@ -241,7 +241,7 @@ int pdfpages_main(int argc, char **argv)
ret = 0;
fz_try(ctx)
{
- out = fz_new_output_with_file(ctx, stdout, 0);
+ out = fz_new_output_with_file_ptr(ctx, stdout, 0);
ret = pdfpages_pages(ctx, out, filename, password, &argv[fz_optind], argc-fz_optind);
}
fz_catch(ctx)