diff options
author | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-07-02 13:10:09 +0000 |
---|---|---|
committer | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-07-02 13:10:09 +0000 |
commit | a9c7109070c8fae9ced510e2989c9964a69f9862 (patch) | |
tree | 291d6373db16c5142b3f807685ee5cb0efa71a32 /src | |
parent | e31758b72fad9c1db4260b21ed8a9ede7ddf65b9 (diff) |
BUILD : 1.7.10 (843) BUGS : NOTES : Fixed various compile warnings on AMD64 systems
git-svn-id: svn://svn.anope.org/anope/trunk@843 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@596 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-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 |
7 files changed, 7 insertions, 7 deletions
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) |