summaryrefslogtreecommitdiff
path: root/src/protocol
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocol')
-rw-r--r--src/protocol/bahamut.c2
-rw-r--r--src/protocol/ptlink.c2
-rw-r--r--src/protocol/rageircd.c2
-rw-r--r--src/protocol/solidircd.c2
-rw-r--r--src/protocol/ultimate3.c2
-rw-r--r--src/protocol/viagra.c2
6 files changed, 6 insertions, 6 deletions
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)