summaryrefslogtreecommitdiff
path: root/src/message.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/message.cpp')
-rw-r--r--src/message.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/message.cpp b/src/message.cpp
index 6e76449fc..c177eee93 100644
--- a/src/message.cpp
+++ b/src/message.cpp
@@ -109,7 +109,7 @@ void tidystring(char* str)
while (go_again)
{
bool noparse = false;
- int t = 0, a = 0;
+ unsigned int t = 0, a = 0;
go_again = false;
while (a < strlen(str))
{
@@ -254,7 +254,7 @@ int isident(const char* n)
{
return 0;
}
- for (int i = 0; i != strlen(n); i++)
+ for (unsigned int i = 0; i < strlen(n); i++)
{
if ((n[i] < 33) || (n[i] > 125))
{
@@ -284,7 +284,7 @@ int isnick(const char* n)
{
return 0;
}
- for (int i = 0; i != strlen(n); i++)
+ for (unsigned int i = 0; i != strlen(n); i++)
{
if ((n[i] < 33) || (n[i] > 125))
{