summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/extra/m_testclient.cpp2
-rw-r--r--src/modules/m_safelist.cpp2
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);