From 9b172942217bc6c25a9c0be82a1704ffe4f642bc Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Tue, 3 May 2016 18:47:15 +0100 Subject: Fix a minor warning in m_hideoper on some systems. --- src/modules/m_hideoper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_hideoper.cpp') diff --git a/src/modules/m_hideoper.cpp b/src/modules/m_hideoper.cpp index 9d50bd2e5..32999d9f0 100644 --- a/src/modules/m_hideoper.cpp +++ b/src/modules/m_hideoper.cpp @@ -94,7 +94,7 @@ class ModuleHideOper : public Module if (opercount) { active = true; - user->WriteNumeric(252, "%s %lu :operator(s) online", user->nick.c_str(), opercount); + user->WriteNumeric(252, "%s %lu :operator(s) online", user->nick.c_str(), static_cast(opercount)); active = false; } return MOD_RES_DENY; -- cgit v1.2.3