summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcertus 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
committercertus 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
commitd85e7973bd8328604d4e954533a72123fb0f69e9 (patch)
tree454c65d4a75a8a1cf4d54e2f5b2547f3fe0db46f
parentedbd71f4033d4424b0dcf05014a3180b10295866 (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
-rw-r--r--Changes1
-rw-r--r--src/protocol/inspircd.c2
-rw-r--r--src/protocol/shadowircd.c4
-rw-r--r--version.log6
4 files changed, 9 insertions, 4 deletions
diff --git a/Changes b/Changes
index 37aff0143..c7071f9a0 100644
--- a/Changes
+++ b/Changes
@@ -8,6 +8,7 @@ Provided by Trystan <trystan@nomadirc.net> - 2006
08/20 F Fixed several compiler warnings. [#586]
08/20 F Fixed several compiler warnings. [#584]
08/20 F log.c rewrite. [#582]
+08/20 F Fixed bsd compier warning. [#578]
Anope Version 1.7.15
--------------------
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,
diff --git a/version.log b/version.log
index 70df87f5b..94a0b4173 100644
--- a/version.log
+++ b/version.log
@@ -9,10 +9,14 @@ VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="15"
VERSION_EXTRA="-svn"
-VERSION_BUILD="1135"
+VERSION_BUILD="1136"
# $Log$
#
+# BUILD : 1.7.15 (1136)
+# BUGS : 578
+# NOTES : fixed bsd compiler warning
+#
# BUILD : 1.7.15 (1135)
# BUGS : 586 584 582
# NOTES : several fixes