Fix compiling on platforms with 64bit time_t.

This commit is contained in:
Scott Long 2005-12-16 06:02:44 +00:00
parent 0717619c5c
commit 98f9589da1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=153470

View File

@ -126,9 +126,9 @@ blast_loop(int s, long duration, u_char *packet, u_int packet_len)
}
printf("\n");
printf("start: %d.%09lu\n", starttime.tv_sec,
printf("start: %zd.%09lu\n", starttime.tv_sec,
starttime.tv_nsec);
printf("finish: %d.%09lu\n", tmptime.tv_sec,
printf("finish: %zd.%09lu\n", tmptime.tv_sec,
tmptime.tv_nsec);
printf("send calls: %d\n", send_calls);
printf("send errors: %d\n", send_errors);