diff options
| author | 2009-01-22 15:14:36 +0000 | |
|---|---|---|
| committer | 2009-01-22 15:14:36 +0000 | |
| commit | 2a8094c2a7bb4861c2d57e1e866fc6d47bfac2a2 (patch) | |
| tree | 6bae26c437a877904d694004873ed5c1daecbad1 /src | |
| parent | Fixes bug #655: National characters support, patch written mostly by Phoenix,... (diff) | |
| download | inspircd++-2a8094c2a7bb4861c2d57e1e866fc6d47bfac2a2.tar.gz inspircd++-2a8094c2a7bb4861c2d57e1e866fc6d47bfac2a2.tar.bz2 inspircd++-2a8094c2a7bb4861c2d57e1e866fc6d47bfac2a2.zip | |
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
Diffstat (limited to 'src')
| -rwxr-xr-x | src/modules/m_nationalchars.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
