diff options
| author | 2006-01-26 10:58:42 +0000 | |
|---|---|---|
| committer | 2006-01-26 10:58:42 +0000 | |
| commit | 48c05dc0dcdee55756404e5932b5ff3adf19d74e (patch) | |
| tree | a347d5abd0415b5bf1c889d72a901e0642c94e06 /src/message.cpp | |
| parent | Merged Andy Church's isnick() and isident() patches - faster, more efficient,... (diff) | |
Typecast fix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2914 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/message.cpp')
| -rw-r--r-- | src/message.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/message.cpp b/src/message.cpp index eb95bde56..b8079d683 100644 --- a/src/message.cpp +++ b/src/message.cpp @@ -243,7 +243,7 @@ int isident(const char* n) { return 0; } - for (char* i = n; *i; i++) + for (char* i = (char*)n; *i; i++) { if ((*i >= 'A') && (*i <= '}')) { @@ -269,7 +269,7 @@ int isnick(const char* n) { return 0; } - for (char* i = n; *i; i++) + for (char* i = (char*)n; *i; i++) { /* can occur anywhere in a nickname */ if ((*i >= 'A') && (*i <= '}')) |
