Eliminate some more warnings and hide less warnings in VS

This commit is contained in:
Berke Viktor
2012-11-10 18:26:45 +01:00
parent 584b89bb02
commit ed970381fb
8 changed files with 53 additions and 28 deletions

View File

@@ -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 */