You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zy...@apache.org on 2013/03/18 08:28:44 UTC

git commit: Fix jtest compile, quickly

Updated Branches:
  refs/heads/master a51a4395d -> 7c5e5a683


Fix jtest compile, quickly


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

Branch: refs/heads/master
Commit: 7c5e5a683ce2b04d4bea038bb59b33de7af7a841
Parents: a51a439
Author: Zhao Yongming <mi...@gmail.com>
Authored: Mon Mar 18 15:27:50 2013 +0800
Committer: Zhao Yongming <mi...@gmail.com>
Committed: Mon Mar 18 15:27:50 2013 +0800

----------------------------------------------------------------------
 tools/jtest/jtest.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/7c5e5a68/tools/jtest/jtest.cc
----------------------------------------------------------------------
diff --git a/tools/jtest/jtest.cc b/tools/jtest/jtest.cc
index b8e566b..f4e3a24 100644
--- a/tools/jtest/jtest.cc
+++ b/tools/jtest/jtest.cc
@@ -3801,7 +3801,7 @@ UrlHashTable::UrlHashTable() {
     // size as the size
     if (!len) 
       panic("zero size URL Hash Table\n");
-    if (len != URL_HASH_BYTES) {
+    if (len != (unsigned long)URL_HASH_BYTES) {
       fprintf(stderr, 
               "FATAL: hash file length (%lu) != URL_HASH_BYTES (%lu)\n",
               len, (unsigned long)URL_HASH_BYTES);