summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-11-29 17:20:36 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-11-29 17:20:36 +0000
commit075bff5a141ba2d80ecbd255f21fada6b2eb8175 (patch)
tree586b89e63f97970649b0cc3b531fa55c7612c433
parent9f37ab4f406b32a349c1f97fb796d2771c66236c (diff)
Frigging warning
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2014 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_spanningtree.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp
index 8bdeac8fc..fe00ac42b 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -1341,7 +1341,7 @@ class ModuleSpanningTree : public Module
{
log(DEBUG,"**** User on %s CONNECTS: %s",user->server,user->nick);
std::deque<std::string> params;
- snprintf(agestr,MAXBUF,"%lu",user->age);
+ snprintf(agestr,MAXBUF,"%lu",(unsigned long)user->age);
params.clear();
params.push_back(agestr);
params.push_back(user->nick);