Cast totreq to unsigned long long, as needed on 64-bit machines.

Pointed out by:	jeff
This commit is contained in:
Jeroen Ruigrok van der Werven 2002-04-08 21:06:14 +00:00
parent 9af48ddfd9
commit 9e74ac9de4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=94239

View File

@ -813,7 +813,8 @@ domem()
}
(void)printf("\nMemory Totals: In Use Free Requests\n");
(void)printf(" %7ldK %6ldK %20llu\n",
(totuse + 1023) / 1024, (totfree + 1023) / 1024, totreq);
(totuse + 1023) / 1024,
(totfree + 1023) / 1024, (unsigned long long)totreq);
}
void