commit - e348ac04e79ae57438c755a3228306120e4aeb63
commit + 6cb09e4c98ee8d38b6ca80454df17f1af5167001
blob - b7838ea857e723cab0a16ee52d3f835d4ddc3e88
blob + 68a901d05e6a066aee87cadeb9e1f51d21873a5d
--- src/ngircd/conn.c
+++ src/ngircd/conn.c
/* Send the current status to the service manager. */
snprintf(status, sizeof(status),
"WATCHDOG=1\nSTATUS=%ld connection%s established (%ld user%s, %ld server%s), %ld maximum. %ld accepted in total.\n",
- NumConnections, NumConnections == 1 ? "" : "s",
+ (long)NumConnections, NumConnections == 1 ? "" : "s",
Client_MyUserCount(), Client_MyUserCount() == 1 ? "" : "s",
Client_MyServerCount(), Client_MyServerCount() == 1 ? "" : "s",
- NumConnectionsMax, NumConnectionsAccepted);
+ (long)NumConnectionsMax, (long)NumConnectionsAccepted);
Signal_NotifySvcMgr(status);
notify_t = t;
}