diff options
author | certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-08-20 09:25:19 +0000 |
---|---|---|
committer | certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-08-20 09:25:19 +0000 |
commit | d85e7973bd8328604d4e954533a72123fb0f69e9 (patch) | |
tree | 454c65d4a75a8a1cf4d54e2f5b2547f3fe0db46f /src | |
parent | edbd71f4033d4424b0dcf05014a3180b10295866 (diff) |
# BUILD : 1.7.15 (1136) # BUGS : 578 # NOTES : fixed bsd compiler warning
git-svn-id: svn://svn.anope.org/anope/trunk@1136 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@859 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r-- | src/protocol/inspircd.c | 2 | ||||
-rw-r--r-- | src/protocol/shadowircd.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/protocol/inspircd.c b/src/protocol/inspircd.c index 41f7dd610..8fc33f537 100644 --- a/src/protocol/inspircd.c +++ b/src/protocol/inspircd.c @@ -604,7 +604,7 @@ int anope_event_idle(char *source, int ac, char **av) { if (ac == 1) { - send_cmd(av[0],"IDLE %s %ld 0",source,time(NULL)); + send_cmd(av[0],"IDLE %s %ld 0",source,(long int) time(NULL)); } return MOD_CONT; } diff --git a/src/protocol/shadowircd.c b/src/protocol/shadowircd.c index 6997987e4..efcb8fce8 100644 --- a/src/protocol/shadowircd.c +++ b/src/protocol/shadowircd.c @@ -853,7 +853,7 @@ void shadowircd_cmd_topic(char *whosets, char *chan, char *whosetit, ud = find_uid(whosets); send_cmd((ud ? ud->uid : whosets), "TOPIC %s %s %ld :%s", chan, - whosetit, when, topic); + whosetit, (long int) when, topic); } void shadowircd_cmd_vhost_off(User * u) @@ -1501,7 +1501,7 @@ void shadowircd_cmd_svsnick(char *nick, char *newnick, time_t when) if (!nick || !newnick) { return; } - send_cmd(NULL, "SVSNICK %s %s %ld", nick, newnick, when); + send_cmd(NULL, "SVSNICK %s %s %ld", nick, newnick, (long int) when); } void shadowircd_cmd_guest_nick(char *nick, char *user, char *host, |