Correct u_int_64 casting to remove warnings in printf()

This commit is contained in:
Greg Lehey 1998-11-03 06:39:39 +00:00
parent 0b492c2b06
commit 07e7cd96c5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=40848

View File

@ -35,7 +35,7 @@
* otherwise) arising in any way out of the use of this software, even if
* advised of the possibility of such damage.
*
* $Id: list.c,v 1.14 1998/10/30 01:05:26 grog Exp grog $
* $Id: list.c,v 1.13 1998/09/04 05:58:19 grog Exp grog $
*/
#include <ctype.h>
@ -353,7 +353,7 @@ vinum_lpi(int plexno, int recurse)
if (plex.state == plex_reviving) {
printf("\t\tRevive pointer:\t\t%s (%d%%)\n",
roughlength(plex.revived << DEV_BSHIFT, 0),
(int) ((u_int64_t) (plex.revived * 100)) / plex.length);
(int) (((u_int64_t) (plex.revived * 100)) / plex.length));
printf("\t\tRevive blocksize:\t%s\n"
"\t\tRevive interval:\t%10d seconds\n",
roughlength(plex.revive_blocksize, 0),