trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bc...@apache.org
Subject trafficserver git commit: TS-153: fixed singed/unsinged compare
Date Tue, 16 Dec 2014 01:12:43 GMT
Repository: trafficserver
Updated Branches:
  refs/heads/master 1f073588a -> 04871a974


TS-153: fixed singed/unsinged compare


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/04871a97
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/04871a97
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/04871a97

Branch: refs/heads/master
Commit: 04871a9742ccb055ddfbd7f0dbe1cce4c3348cb6
Parents: 1f07358
Author: Bryan Call <bcall@apache.org>
Authored: Mon Dec 15 17:12:09 2014 -0800
Committer: Bryan Call <bcall@apache.org>
Committed: Mon Dec 15 17:12:09 2014 -0800

----------------------------------------------------------------------
 iocore/net/UnixNet.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/04871a97/iocore/net/UnixNet.cc
----------------------------------------------------------------------
diff --git a/iocore/net/UnixNet.cc b/iocore/net/UnixNet.cc
index c8f70ae..09dcb0f 100644
--- a/iocore/net/UnixNet.cc
+++ b/iocore/net/UnixNet.cc
@@ -92,7 +92,7 @@ public:
             "ssl type: %d", max_keep_alive, nh->keep_alive_lru_size, event_threads, ssl_threads,
ET_NET,
             SSLNetProcessor::ET_SSL);
 
-      while (nh->keep_alive_lru_size > max_keep_alive) {
+      while (nh->keep_alive_lru_size > (uint32_t)max_keep_alive) {
         UnixNetVConnection *vc = nh->keep_alive_list.pop();
         Debug("inactivity_cop", "removing keep-alives from the lru NetVC=%p size: %u", vc,
nh->keep_alive_lru_size);
         --(nh->keep_alive_lru_size);


Mime
View raw message