trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iga...@apache.org
Subject [7/21] git commit: TS-1314: fix signed/unsigned warnings
Date Fri, 21 Sep 2012 10:04:40 GMT
TS-1314: fix signed/unsigned warnings


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

Branch: refs/heads/3.2.x
Commit: 8b174153770e9cce47a532006d3e7f36bc490fd3
Parents: e73284d
Author: James Peach <jpeach@apache.org>
Authored: Tue Jul 10 09:36:11 2012 -0700
Committer: Igor Galić <i.galic@brainsware.org>
Committed: Fri Sep 21 08:54:04 2012 +0200

----------------------------------------------------------------------
 lib/ts/test_Vec.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/8b174153/lib/ts/test_Vec.cc
----------------------------------------------------------------------
diff --git a/lib/ts/test_Vec.cc b/lib/ts/test_Vec.cc
index 92810b6..f62dd5e 100644
--- a/lib/ts/test_Vec.cc
+++ b/lib/ts/test_Vec.cc
@@ -30,7 +30,7 @@
 static void test_append()
 {
   static const char value[] = "this is a string";
-  static const size_t len = sizeof(value) - 1;
+  static const int len = (int)sizeof(value) - 1;
 
   Vec<char> str;
 


Mime
View raw message