aboutsummaryrefslogtreecommitdiffstats
path: root/FICS
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2024-01-04 00:49:36 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2024-01-04 00:49:36 +0100
commit6437b6696cd1e03de3f4d4c62db969ab7bb8151c (patch)
treebe7d9f105c9e4d991b66767df4cee068bb0f7ae5 /FICS
parent87b5b910f544537ba8d6429c1058a455c28283f3 (diff)
Corrected pprintf format specifiers
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));