summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-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);