From 2a8094c2a7bb4861c2d57e1e866fc6d47bfac2a2 Mon Sep 17 00:00:00 2001 From: w00t Date: Thu, 22 Jan 2009 15:14:36 +0000 Subject: Fix a small warning (char being used as array subscript) by just using int instead. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10981 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_nationalchars.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/modules/m_nationalchars.cpp b/src/modules/m_nationalchars.cpp index 6647c6185..7960fb5a2 100755 --- a/src/modules/m_nationalchars.cpp +++ b/src/modules/m_nationalchars.cpp @@ -117,7 +117,7 @@ bool lwbNickHandler::Call(const char* n, size_t max) } /* 3.1. Check against a simple UTF-8 characters enumeration */ - char cursize,ncursize; /*size of a current character*/ + int cursize,ncursize; /*size of a current character*/ ncursize=utf8size((unsigned char *)i); /* do check only if current multibyte character is valid UTF-8 only */ if (ncursize!=-1) -- cgit v1.2.3