Fix compiler warnings

This commit is contained in:
Adam Dunkels 2015-10-04 22:33:47 +02:00 committed by Simon Duquennoy
parent 24b1eb4031
commit afe3612c0c
3 changed files with 3 additions and 5 deletions

View file

@ -89,7 +89,7 @@ read_chunk(struct rucb_conn *c, int offset, char *to, int maxsize)
bytecount += size;
if(bytecount == FILESIZE) {
printf("Completion time %lu / %u\n", (unsigned long)clock_time() - start_time, CLOCK_SECOND);
printf("Completion time %lu / %u\n", (unsigned long)clock_time() - start_time, (unsigned int)CLOCK_SECOND);
print_stats();
}