diff options
-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 <= '}')) |