From 48c05dc0dcdee55756404e5932b5ff3adf19d74e Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 26 Jan 2006 10:58:42 +0000 Subject: Typecast fix git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2914 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/message.cpp | 4 ++-- 1 file 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 <= '}')) -- cgit v1.2.3