summary refs log tree commit diff stats
path: root/src/common/outbound.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/outbound.c')
-rw-r--r--src/common/outbound.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/outbound.c b/src/common/outbound.c
index 4e6846e3..05910df9 100644
--- a/src/common/outbound.c
+++ b/src/common/outbound.c
@@ -4241,7 +4241,8 @@ handle_say (session *sess, char *text, int check_spch)
 
 		if (strlen (text) > max)
 		{
-			int i = 0, size;
+			unsigned int i = 0;
+			int size;
 
 			/* traverse the utf8 string and find the nearest cut point that
 				doesn't split 1 char in half */