* University of Maryland at College Park
*/
/*
- * $Id: tapetype.c,v 1.3.2.3.4.3.2.9.2.2 2004/11/10 16:28:43 martinea Exp $
+ * $Id: tapetype.c,v 1.3.2.3.4.3.2.9.2.3 2005/10/02 13:48:42 martinea Exp $
*
* tests a tape in a given tape unit and prints a tapetype entry for
* it. */
/*
* Inform about estimated time needed to run the remaining of this program
*/
- fprintf(stderr, "Estimated time to write 2 * %d Mbyte: ", estsize / 1024);
+ fprintf(stderr, "Estimated time to write 2 * %lu Mbyte: ", (unsigned long) (estsize / 1024));
pass1time = (time_t)(2.0 * pass2time * estsize / (1.0 * pass0size * blockkb));
/* avoid overflow and underflow by doing math in floating point */
fprintf(stderr, "%ld sec = ", pass1time);