Commit Diff


commit - e5fea5380d29f02027b41d55bddf89cccd44d0b7
commit + 8a94ec9728cef27c0b1e3a7df62f5530c6394308
blob - 1f7969df0aba32b8a83d1dc9394d99e70aa6b223
blob + b56429531c6dede4636c72b8ec2c1c91cfdc200b
--- src/ngircd/ngircd.c
+++ src/ngircd/ngircd.c
@@ -828,9 +828,9 @@ NGIRCd_Init( bool NGIRCd_NoDaemon ) 
 	pwd = getpwuid( Conf_UID );
 	grp = getgrgid( Conf_GID );
 
-	Log( LOG_INFO, "Running as user %s(%ld), group %s(%ld), with PID %ld.",
-				pwd ? pwd->pw_name : "unknown", Conf_UID,
-				grp ? grp->gr_name : "unknown", Conf_GID, pid);
+	Log(LOG_INFO, "Running as user %s(%ld), group %s(%ld), with PID %ld.",
+				pwd ? pwd->pw_name : "unknown", (long)Conf_UID,
+				grp ? grp->gr_name : "unknown", (long)Conf_GID, (long)pid);
 
 	if (chrooted) {
 		Log(LOG_INFO, "Running with root directory \"%s\".",