From a1eacefd6220cd9ae7fe58ad60733d0d0ce58d6d Mon Sep 17 00:00:00 2001 From: w00t Date: Wed, 6 Feb 2008 16:18:39 +0000 Subject: Fix warnings (thanks owine) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8842 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules') 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 params; params.push_back(data); -- cgit v1.2.3