summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-26 10:58:42 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-26 10:58:42 +0000
commit48c05dc0dcdee55756404e5932b5ff3adf19d74e (patch)
treea347d5abd0415b5bf1c889d72a901e0642c94e06
parent3e3e46bc0865164c7a0d54983ecf3ae6d6bf1ace (diff)
Typecast fix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2914 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/message.cpp4
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 <= '}'))