diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-02-06 16:18:39 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-02-06 16:18:39 +0000 |
commit | a1eacefd6220cd9ae7fe58ad60733d0d0ce58d6d (patch) | |
tree | 0d0c54a3b736d5c122c2b10670f4d79378774f88 /src/modules/m_spanningtree | |
parent | da6d1d696a7e9c5b1e45c125e2c4f081d53043a9 (diff) |
Fix warnings (thanks owine)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8842 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r-- | src/modules/m_spanningtree/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp index 4f2ff13b2..0deaeb3ba 100644 --- a/src/modules/m_spanningtree/main.cpp +++ b/src/modules/m_spanningtree/main.cpp @@ -766,8 +766,8 @@ void ModuleSpanningTree::OnAddLine(XLine* line, User* user) return; char data[MAXBUF]; - snprintf(data,MAXBUF,"%s %s %s %lu %lu :%s", line->type.c_str(), line->Displayable(), ServerInstance->Config->ServerName, line->set_time, - line->duration, line->reason); + snprintf(data,MAXBUF,"%s %s %s %lu %lu :%s", line->type.c_str(), line->Displayable(), + ServerInstance->Config->ServerName, (unsigned long)line->set_time, (unsigned long)line->duration, line->reason); std::deque<std::string> params; params.push_back(data); |