diff options
| author | 2022-05-25 10:11:32 +0100 | |
|---|---|---|
| committer | 2022-05-25 10:11:32 +0100 | |
| commit | ee6ce2064e3abf96eb5baf9b09b6a23148a0c31f (patch) | |
| tree | 86431267af1b9dbd50561daef970c9d0bef86623 /src/modules/m_spanningtree/main.cpp | |
| parent | Fix httpd_stats swallowing requests that it doesn't handle. (diff) | |
Fix some compiler warnings on i386.
Diffstat (limited to 'src/modules/m_spanningtree/main.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp index 9fd6226c3..cbbf13f12 100644 --- a/src/modules/m_spanningtree/main.cpp +++ b/src/modules/m_spanningtree/main.cpp @@ -286,7 +286,7 @@ void ModuleSpanningTree::DoConnectTimeout(time_t curtime) Utils->timeoutlist.erase(me); s->Close(); } - else if (curtime > s->age + p.second) + else if (curtime > s->age + (time_t)p.second) { ServerInstance->SNO->WriteToSnoMask('l',"CONNECT: Error connecting \002%s\002 (timeout of %u seconds)",p.first.c_str(),p.second); Utils->timeoutlist.erase(me); |
