summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2009-01-22 15:14:36 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2009-01-22 15:14:36 +0000
commit2a8094c2a7bb4861c2d57e1e866fc6d47bfac2a2 (patch)
tree6bae26c437a877904d694004873ed5c1daecbad1 /src
parenta6d924bf70d389583b8706e9774f056dd6af9fc3 (diff)
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-xsrc/modules/m_nationalchars.cpp2
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)