summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-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)