summaryrefslogtreecommitdiff
path: root/src/userprocess.cpp
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-07-23 21:21:15 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-07-23 21:21:15 +0000
commit525986cc0141065b2606807071ce6af22043c80d (patch)
tree8e01f5fca7eaeac12fae96736b5d034326c1339b /src/userprocess.cpp
parent932b19d38b7222030738571fffe4c57ea61c4378 (diff)
Squash a warning reported by owine
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7519 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/userprocess.cpp')
-rw-r--r--src/userprocess.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/userprocess.cpp b/src/userprocess.cpp
index 3b9e717df..96eba0469 100644
--- a/src/userprocess.cpp
+++ b/src/userprocess.cpp
@@ -275,7 +275,7 @@ void InspIRCd::DoBackgroundUserStuff(time_t TIME)
/* Everybody loves boobies. */
time_t time = this->Time(false) - (curr->nping - curr->pingmax);
char message[MAXBUF];
- snprintf(message, MAXBUF, "Ping timeout: %ld second%s", time, time > 1 ? "s" : "");
+ snprintf(message, MAXBUF, "Ping timeout: %ld second%s", (long)time, time > 1 ? "s" : "");
curr->muted = true;
GlobalCulls.AddItem(curr, message);
curr->lastping = 1;