2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-06-21 03:12:20 +00:00

Fix inadvertent pointer to integer cast

This commit is contained in:
Jay Berkenbilt 2013-02-28 17:24:04 -05:00
parent fd64959398
commit 53bfa86084

View File

@ -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);