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
1 changed files with 1 additions and 1 deletions

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