From 927dc3b428cd942201791bc6f80f0a64f9b8b629 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 7 Feb 2006 01:48:30 +0000 Subject: Fix signedness warning git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3121 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index 03e543cd6..20c721419 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -2509,8 +2509,8 @@ class ModuleSpanningTree : public Module std::vector Bindings; int line; int NumServers; - int max_local; - int max_global; + unsigned int max_local; + unsigned int max_global; cmd_rconnect* command_rconnect; public: @@ -2574,7 +2574,7 @@ class ModuleSpanningTree : public Module void HandleLusers(char** parameters, int pcnt, userrec* user) { /* Only update these when someone wants to see them, more efficient */ - if (local_count() > max_local) + if ((unsigned int)local_count() > max_local) max_local = local_count(); if (clientlist.size() > max_global) max_global = clientlist.size(); -- cgit v1.2.3