From c43666e344250e4d559d116a73a9d4a313cf1645 Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 27 May 2010 19:41:16 -0400 Subject: Rewrote cs_access to be more C++ish, changed NumberList to be more C++ish and fixed some compiler warnings on 64bit systems --- src/protocol/bahamut.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/protocol') diff --git a/src/protocol/bahamut.cpp b/src/protocol/bahamut.cpp index 040144737..d55a08123 100644 --- a/src/protocol/bahamut.cpp +++ b/src/protocol/bahamut.cpp @@ -179,7 +179,7 @@ class BahamutIRCdProto : public IRCDProto /* SGLINE */ void SendSGLine(XLine *x) { - send_cmd(NULL, "SGLINE %d :%s:%s", x->Mask.length(), x->Mask.c_str(), x->Reason.c_str()); + send_cmd(NULL, "SGLINE %d :%s:%s", static_cast(x->Mask.length()), x->Mask.c_str(), x->Reason.c_str()); } /* RAKILL */ -- cgit