aboutsummaryrefslogtreecommitdiffstats
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-05-25 10:11:32 +0100
committerGravatar Sadie Powell2022-05-25 10:11:32 +0100
commitee6ce2064e3abf96eb5baf9b09b6a23148a0c31f (patch)
tree86431267af1b9dbd50561daef970c9d0bef86623 /src/inspircd.cpp
parentFix httpd_stats swallowing requests that it doesn't handle. (diff)
Fix some compiler warnings on i386.
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index b1d4b2d09..0205bd3b6 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -619,7 +619,8 @@ InspIRCd::InspIRCd(int argc, char** argv)
WritePID(Config->PID);
DropRoot();
- Logs->Log("STARTUP", LOG_DEFAULT, "Startup complete as '%s'[%s], %lu max open sockets", Config->ServerName.c_str(),Config->GetSID().c_str(), SocketEngine::GetMaxFds());
+ Logs->Log("STARTUP", LOG_DEFAULT, "Startup complete as '%s'[%s], %lu max open sockets", Config->ServerName.c_str(),
+ Config->GetSID().c_str(), (unsigned long)SocketEngine::GetMaxFds());
}
void InspIRCd::UpdateTime()