From e289e5ade0bb32631e41a534cf3eab45b3bfebe4 Mon Sep 17 00:00:00 2001 From: rburchell Date: Fri, 14 Nov 2008 20:02:06 +0000 Subject: Various small warning fixes. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1668 5417fbe8-f217-4b02-8779-1006273d7864 --- src/protocol/bahamut.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/protocol') diff --git a/src/protocol/bahamut.c b/src/protocol/bahamut.c index 536da1bad..d512f93c8 100644 --- a/src/protocol/bahamut.c +++ b/src/protocol/bahamut.c @@ -531,7 +531,7 @@ class BahamutIRCdProto : public IRCDProto /* SVSHOLD - set */ void SendSVSHold(const char *nick) { - send_cmd(ServerName, "SVSHOLD %s %d :%s", nick, NSReleaseTimeout, "Being held for registered user"); + send_cmd(ServerName, "SVSHOLD %s %ld :%s", nick, (unsigned int)NSReleaseTimeout, "Being held for registered user"); } /* SVSHOLD - release */ @@ -638,7 +638,7 @@ class BahamutIRCdProto : public IRCDProto // Calculate the time left before this would expire, capping it at 2 days time_t timeleft = expires - time(NULL); if (timeleft > 172800) timeleft = 172800; - send_cmd(NULL, "AKILL %s %s %d %s %ld :%s", host, user, timeleft, who, static_cast(time(NULL)), reason); + send_cmd(NULL, "AKILL %s %s %d %s %ld :%s", host, user, (unsigned int)timeleft, who, static_cast(time(NULL)), reason); } /* SVSKILL */ -- cgit