summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2013-02-28 23:24:04 +0100
committerJay Berkenbilt <ejb@ql.org>2013-03-05 19:35:46 +0100
commit53bfa86084f738bcd9aac7392a653150d747675d (patch)
tree7c55d19aec5df2a6bc9cde3c9bd73b0355a98c72
parentfd649593983925356fcc61c04a75c9f55cee3648 (diff)
downloadqpdf-53bfa86084f738bcd9aac7392a653150d747675d.tar.zst
Fix inadvertent pointer to integer cast
-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);