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 2016/03/08 08:04:40 UTC
trafficserver git commit: TS-2642: fix gcc unsigned conversion error
Repository: trafficserver
Updated Branches:
refs/heads/master 0792a4a3d -> 8970e51b1
TS-2642: fix gcc unsigned conversion error
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/8970e51b
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/8970e51b
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/8970e51b
Branch: refs/heads/master
Commit: 8970e51b11c097f3b6df8ff762292b0e2aebaf3e
Parents: 0792a4a
Author: James Peach <jp...@apache.org>
Authored: Mon Mar 7 23:04:10 2016 -0800
Committer: James Peach <jp...@apache.org>
Committed: Mon Mar 7 23:04:20 2016 -0800
----------------------------------------------------------------------
plugins/header_rewrite/conditions.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/8970e51b/plugins/header_rewrite/conditions.cc
----------------------------------------------------------------------
diff --git a/plugins/header_rewrite/conditions.cc b/plugins/header_rewrite/conditions.cc
index 4e6f29e..59a98c2 100644
--- a/plugins/header_rewrite/conditions.cc
+++ b/plugins/header_rewrite/conditions.cc
@@ -674,7 +674,7 @@ ConditionNow::initialize(Parser &p)
Condition::initialize(p);
Matchers<int64_t> *match = new Matchers<int64_t>(_cond_op);
- match->set(static_cast<unsigned int64_t>(strtol(p.get_arg().c_str(), NULL, 10)));
+ match->set(static_cast<int64_t>(strtol(p.get_arg().c_str(), NULL, 10)));
_matcher = match;
}