You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by jp...@apache.org on 2013/04/26 20:18:15 UTC
git commit: TS-1856: fix unsigned comparison warnings
Updated Branches:
refs/heads/master 1617f7620 -> cec4cf1d2
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/master
Commit: cec4cf1d2dd70f5e834811b3159c67c7761f9afe
Parents: 1617f76
Author: James Peach <jp...@apache.org>
Authored: Fri Apr 26 11:17:47 2013 -0700
Committer: James Peach <jp...@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?