diff options
-rw-r--r-- | Changes | 1 | ||||
-rw-r--r-- | src/config.c | 2 | ||||
-rw-r--r-- | src/protocol/bahamut.c | 2 | ||||
-rw-r--r-- | src/protocol/ptlink.c | 2 | ||||
-rw-r--r-- | src/protocol/rageircd.c | 2 | ||||
-rw-r--r-- | src/protocol/solidircd.c | 2 | ||||
-rw-r--r-- | src/protocol/ultimate3.c | 2 | ||||
-rw-r--r-- | src/protocol/viagra.c | 2 | ||||
-rw-r--r-- | version.log | 6 |
9 files changed, 13 insertions, 8 deletions
@@ -4,6 +4,7 @@ Provided by Anope Dev. <dev@anope.org> - 2005 07/01 A Events for channel access/xop updates. [ #00] 06/26 A New module pack module: hs_request. [ #00] 06/03 A Protocol files can now fill mod_current_buffer with custom code. [#389] +07/02 F Various compile warnings when using AMD64. [ #00] 07/01 F Modules will now be properly unloaded on shutdown. [ #00] 07/01 F Modules now use a more random filename in the runtime folder. [#400] 07/01 F Most core compile warnings when using make strict. [ #00] diff --git a/src/config.c b/src/config.c index c9d291ee3..362751cea 100644 --- a/src/config.c +++ b/src/config.c @@ -687,7 +687,7 @@ int parse_directive(Directive * d, char *dir, int ac, char *av[MAXPARAMS], { int retval = 1; int i; - int val; + long val; int optind; if (stricmp(dir, d->name) != 0) diff --git a/src/protocol/bahamut.c b/src/protocol/bahamut.c index 04a56337f..55a25d3c4 100644 --- a/src/protocol/bahamut.c +++ b/src/protocol/bahamut.c @@ -740,7 +740,7 @@ void bahamut_cmd_svsadmin(char *server, int set) /* SGLINE */ void bahamut_cmd_sgline(char *mask, char *reason) { - send_cmd(NULL, "SGLINE %d :%s:%s", strlen(mask), mask, reason); + send_cmd(NULL, "SGLINE %d :%s:%s", (int)strlen(mask), mask, reason); } /* RAKILL */ diff --git a/src/protocol/ptlink.c b/src/protocol/ptlink.c index abb428f54..846f1715c 100644 --- a/src/protocol/ptlink.c +++ b/src/protocol/ptlink.c @@ -1391,7 +1391,7 @@ void ptlink_cmd_unsgline(char *mask) */ void ptlink_cmd_sgline(char *mask, char *reason) { - send_cmd(ServerName, "SXLINE %d :%s:%s", strlen(mask), mask, reason); + send_cmd(ServerName, "SXLINE %d :%s:%s", (int)strlen(mask), mask, reason); } /* SVSNICK */ diff --git a/src/protocol/rageircd.c b/src/protocol/rageircd.c index f5b5cdb94..5c72eb2bd 100644 --- a/src/protocol/rageircd.c +++ b/src/protocol/rageircd.c @@ -628,7 +628,7 @@ void rageircd_cmd_svsadmin(char *server, int set) void rageircd_cmd_sgline(char *mask, char *reason) { - send_cmd(NULL, "SGLINE %d :%s:%s", strlen(mask), mask, reason); + send_cmd(NULL, "SGLINE %d :%s:%s", (int)strlen(mask), mask, reason); } diff --git a/src/protocol/solidircd.c b/src/protocol/solidircd.c index aa7fdabe5..507d7fad0 100644 --- a/src/protocol/solidircd.c +++ b/src/protocol/solidircd.c @@ -764,7 +764,7 @@ void solidircd_cmd_svsadmin(char *server, int set) /* SGLINE */ void solidircd_cmd_sgline(char *mask, char *reason) { - send_cmd(NULL, "SGLINE %d :%s:%s", strlen(mask), mask, reason); + send_cmd(NULL, "SGLINE %d :%s:%s", (int)strlen(mask), mask, reason); } /* RAKILL */ diff --git a/src/protocol/ultimate3.c b/src/protocol/ultimate3.c index 714e4c089..6eb4bd144 100644 --- a/src/protocol/ultimate3.c +++ b/src/protocol/ultimate3.c @@ -703,7 +703,7 @@ void ultimate3_cmd_svsadmin(char *server, int set) void ultimate3_cmd_sgline(char *mask, char *reason) { - send_cmd(NULL, "SGLINE %d :%s:%s", strlen(mask), mask, reason); + send_cmd(NULL, "SGLINE %d :%s:%s", (int)strlen(mask), mask, reason); } void ultimate3_cmd_remove_akill(char *user, char *host) diff --git a/src/protocol/viagra.c b/src/protocol/viagra.c index 61c109228..12acee084 100644 --- a/src/protocol/viagra.c +++ b/src/protocol/viagra.c @@ -774,7 +774,7 @@ void viagra_cmd_svsadmin(char *server, int set) void viagra_cmd_sgline(char *mask, char *reason) { - send_cmd(NULL, "SGLINE %d :%s:%s", strlen(mask), mask, reason); + send_cmd(NULL, "SGLINE %d :%s:%s", (int)strlen(mask), mask, reason); } void viagra_cmd_remove_akill(char *user, char *host) diff --git a/version.log b/version.log index 461d6cea5..987cc4df9 100644 --- a/version.log +++ b/version.log @@ -8,10 +8,14 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="10" -VERSION_BUILD="842" +VERSION_BUILD="843" # $Log$ # +# BUILD : 1.7.10 (843) +# BUGS : +# NOTES : Fixed various compile warnings on AMD64 systems +# # BUILD : 1.7.10 (842) # BUGS : # NOTES : Added 3 new events for channel access/xop list modifications |