Cast totreq to unsigned long long, as needed on 64-bit machines.
Pointed out by: jeff
This commit is contained in:
parent
9af48ddfd9
commit
9e74ac9de4
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user