aboutsummaryrefslogtreecommitdiffstats
path: root/FICS
diff options
context:
space:
mode:
Diffstat (limited to 'FICS')
-rw-r--r--FICS/comproc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/FICS/comproc.c b/FICS/comproc.c
index 539a60d..ad8f42b 100644
--- a/FICS/comproc.c
+++ b/FICS/comproc.c
@@ -652,13 +652,13 @@ com_uptime(int p, param_list param)
pprintf(p, "\nAllocs: %u Frees: %u Allocs In Use: %u\n",
malloc_count, free_count, (malloc_count - free_count));
if (parray[p].adminLevel >= ADMIN_ADMIN) {
- pprintf(p, "\nplayer size:%d, game size:%d, con size:%d, "
+ pprintf(p, "\nplayer size:%zu, game size:%zu, con size:%d, "
"g_num:%d\n", sizeof(player), sizeof(game), net_consize(),
g_num);
getrusage(RUSAGE_SELF, &ru);
- pprintf(p, "pagesize = %d, maxrss = %d, total = %d\n",
+ pprintf(p, "pagesize = %d, maxrss = %ld, total = %ld\n",
getpagesize(),
ru.ru_maxrss,
(getpagesize() * ru.ru_maxrss));