diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-24 18:12:24 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-24 18:12:24 +0000 |
commit | 56123af167d744f4553ea1caa3ca4a1ec5eef0a3 (patch) | |
tree | 3baa2696bbafd8f686a5446d452ecdc18d4e2a88 /src/modules | |
parent | e22745406575667cc94cb8e3b7b78322cce2aa3c (diff) |
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
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/extra/m_testclient.cpp | 2 | ||||
-rw-r--r-- | src/modules/m_safelist.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
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); |