trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jpe...@apache.org
Subject [15/50] git commit: TS-1856: fix unsigned comparison warnings
Date Sat, 04 May 2013 15:30:36 GMT
TS-1856: fix unsigned comparison warnings


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

Branch: refs/heads/sphinx-docs
Commit: cec4cf1d2dd70f5e834811b3159c67c7761f9afe
Parents: 1617f76
Author: James Peach <jpeach@apache.org>
Authored: Fri Apr 26 11:17:47 2013 -0700
Committer: James Peach <jpeach@apache.org>
Committed: Fri Apr 26 11:17:47 2013 -0700

----------------------------------------------------------------------
 proxy/PluginVC.cc |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/cec4cf1d/proxy/PluginVC.cc
----------------------------------------------------------------------
diff --git a/proxy/PluginVC.cc b/proxy/PluginVC.cc
index 5c56200..e00397f 100644
--- a/proxy/PluginVC.cc
+++ b/proxy/PluginVC.cc
@@ -1213,8 +1213,8 @@ public:
   int main_handler(int event, void *data);
 
 private:
-  int i;
-  int completions_received;
+  unsigned i;
+  unsigned completions_received;
 };
 
 PVCTestDriver::PVCTestDriver():
@@ -1245,8 +1245,8 @@ void
 PVCTestDriver::run_next_test()
 {
 
-  int a_index = i * 2;
-  int p_index = a_index + 1;
+  unsigned a_index = i * 2;
+  unsigned p_index = a_index + 1;
 
   if (p_index >= num_netvc_tests) {
     // We are done - // FIX - PASS or FAIL?


Mime
View raw message