From 56123af167d744f4553ea1caa3ca4a1ec5eef0a3 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 24 Oct 2007 18:12:24 +0000 Subject: Last of the -pedantic fixes. Seems we were all good with -pedantic from the start :) Just seemed that -Wall -Wextra enables moron warnings. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8352 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_testclient.cpp | 2 ++ src/modules/m_safelist.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src/modules') diff --git a/src/modules/extra/m_testclient.cpp b/src/modules/extra/m_testclient.cpp index 179a14a19..eb911bf49 100644 --- a/src/modules/extra/m_testclient.cpp +++ b/src/modules/extra/m_testclient.cpp @@ -18,6 +18,8 @@ #include "configreader.h" #include "m_sqlv2.h" +/* $CompileFlags: -Wno-variadic-macros */ + class ModuleTestClient : public Module { private: diff --git a/src/modules/m_safelist.cpp b/src/modules/m_safelist.cpp index 0155492fc..388781cee 100644 --- a/src/modules/m_safelist.cpp +++ b/src/modules/m_safelist.cpp @@ -168,7 +168,7 @@ class ModuleSafeList : public Module if (user->GetExt("safelist_cache", ld)) { Channel* chan = NULL; - long amount_sent = 0; + unsigned long amount_sent = 0; do { chan = ServerInstance->GetChannelIndex(ld->list_position); -- cgit v1.3.1-10-gc9f91