trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iga...@apache.org
Subject [8/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/e73284de
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/e73284de
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/e73284de

Branch: refs/heads/3.2.x
Commit: e73284dee156e9800a4843bdf36a3b7065b18a71
Parents: 903991b
Author: James Peach <jpeach@apache.org>
Authored: Tue Jul 10 09:19:26 2012 -0700
Committer: Igor Galić <i.galic@brainsware.org>
Committed: Fri Sep 21 08:53:56 2012 +0200

----------------------------------------------------------------------
 proxy/logcat.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/e73284de/proxy/logcat.cc
----------------------------------------------------------------------
diff --git a/proxy/logcat.cc b/proxy/logcat.cc
index 7dd16c3..517ebe8 100644
--- a/proxy/logcat.cc
+++ b/proxy/logcat.cc
@@ -289,7 +289,7 @@ main(int argc, char *argv[])
     int bin_ext_len = strlen(BINARY_LOG_OBJECT_FILENAME_EXTENSION);
     int ascii_ext_len = strlen(ASCII_LOG_OBJECT_FILENAME_EXTENSION);
 
-    for (int i = 0; i < n_file_arguments; ++i) {
+    for (unsigned i = 0; i < n_file_arguments; ++i) {
       int in_fd = open(file_arguments[i], O_RDONLY);
       if (in_fd < 0) {
         fprintf(stderr, "Error opening input file %s: ", file_arguments[i]);


Mime
View raw message