summary refs log tree commit diff stats
path: root/src/common/outbound.c
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-11-10 18:26:45 +0100
committerBerke Viktor <bviktor@hexchat.org>2012-11-10 18:26:45 +0100
commited970381fb914c413b88718bb7756b0f1282cfad (patch)
tree348e76fe96a72d46950fe7aa21f71e1c84ab09d0 /src/common/outbound.c
parent584b89bb022c3cb22b45b1285652bb3b5f33ed81 (diff)
Eliminate some more warnings and hide less warnings in VS
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 */