Try to unbreak the tinderbox: Cast a time_t argument to long before printing

it with %ld.
This commit is contained in:
Stefan Farfeleder 2005-12-27 12:33:18 +00:00
parent 9f8eb3cb52
commit c14284a637

View File

@ -186,7 +186,7 @@ struct atm_time {
delta.tv_sec--; \
delta.tv_usec += 1000000; \
} \
printf("%3ld.%6ld: ", delta.tv_sec, delta.tv_usec);
printf("%3ld.%6ld: ", (long)delta.tv_sec, delta.tv_usec);
#define ATM_DEBUG0(f) if (atm_debug) {ATM_TIME; printf(f);}
#define ATM_DEBUGN0(f) if (atm_debug) {printf(f);}