diff options
author | Berke Viktor <bviktor@hexchat.org> | 2012-11-10 18:26:45 +0100 |
---|---|---|
committer | Berke Viktor <bviktor@hexchat.org> | 2012-11-10 18:26:45 +0100 |
commit | ed970381fb914c413b88718bb7756b0f1282cfad (patch) | |
tree | 348e76fe96a72d46950fe7aa21f71e1c84ab09d0 /src/common/outbound.c | |
parent | 584b89bb022c3cb22b45b1285652bb3b5f33ed81 (diff) |
Eliminate some more warnings and hide less warnings in VS
Diffstat (limited to 'src/common/outbound.c')
-rw-r--r-- | src/common/outbound.c | 3 |
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 */ |