summaryrefslogtreecommitdiffstats
path: root/qpdf/qpdf-ctest.c
diff options
context:
space:
mode:
Diffstat (limited to 'qpdf/qpdf-ctest.c')
-rw-r--r--qpdf/qpdf-ctest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpdf/qpdf-ctest.c b/qpdf/qpdf-ctest.c
index c535aa23..cb6afd3c 100644
--- a/qpdf/qpdf-ctest.c
+++ b/qpdf/qpdf-ctest.c
@@ -113,7 +113,7 @@ static void read_file_into_memory(char const* filename,
whoami, filename);
}
fprintf(stderr, " read %lu, wanted %lu\n",
- (unsigned long) bytes_read, (unsigned long) size);
+ (unsigned long) bytes_read, (unsigned long) *size);
exit(2);
}
fclose(f);