From 8dd8b4e26819fd483776a3535b9c03d8abab624f Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 11 Nov 2006 20:35:42 +0000 Subject: Eliminate two trivial compile warnings pointed out by a few people git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5697 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/modules') diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index 63e6f5d27..0da933000 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -4940,7 +4940,8 @@ class ModuleSpanningTree : public Module { /* Server-set lines */ char data[MAXBUF]; - snprintf(data,MAXBUF,"%c %s %s %lu %lu :%s", linetype, host.c_str(), ServerInstance->Config->ServerName, ServerInstance->Time(false), duration, reason.c_str()); + snprintf(data,MAXBUF,"%c %s %s %lu %lu :%s", linetype, host.c_str(), ServerInstance->Config->ServerName, (unsigned long)ServerInstance->Time(false), + (unsigned long)duration, reason.c_str()); std::deque params; params.push_back(data); Utils->DoOneToMany(ServerInstance->Config->ServerName, "ADDLINE", params); -- cgit v1.2.3