summaryrefslogtreecommitdiff
path: root/src/userprocess.cpp
diff options
context:
space:
mode:
authorGravatar Daniel De Graaf2010-08-04 13:04:11 -0400
committerGravatar Daniel De Graaf2010-08-04 13:04:11 -0400
commit4fa1ec6eb3871b332df0279260e07b7d5b59664c (patch)
tree95200298b565b27da6bdd750bcd319538a107102 /src/userprocess.cpp
parentFix m_opermodes.so sending modes for unintroduced clients with oper autologin... (diff)
Cast to time_t for comparison because GCC complains about signdedness on 32-bit systems
Diffstat (limited to 'src/userprocess.cpp')
-rw-r--r--src/userprocess.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/userprocess.cpp b/src/userprocess.cpp
index 9239d752e..c5ce39c5b 100644
--- a/src/userprocess.cpp
+++ b/src/userprocess.cpp
@@ -79,7 +79,7 @@ void InspIRCd::DoBackgroundUserStuff()
break;
}
- if (curr->registered != REG_ALL && (Time() > (curr->age + curr->MyClass->registration_timeout)))
+ if (curr->registered != REG_ALL && (Time() > (time_t)(curr->age + curr->MyClass->registration_timeout)))
{
/*
* registration timeout -- didnt send USER/NICK/HOST