]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rados: fix warning
authorYehuda Sadeh <yehuda@hq.newdream.net>
Thu, 30 Jun 2011 21:00:23 +0000 (14:00 -0700)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Thu, 30 Jun 2011 21:00:23 +0000 (14:00 -0700)
src/rados.cc

index 3e6be037af739b48315bd7c640db45616aa30c49..75576878601ede3f951e789209b298c7a734fe6a 100644 (file)
@@ -559,7 +559,7 @@ static int rados_tool_common(const std::map < std::string, std::string > &opts,
   uint64_t max_op_len = 0;
   uint64_t max_backlog = 0;
   uint64_t target_throughput = 0;
-  uint64_t read_percent = -1;
+  int64_t read_percent = -1;
   uint64_t num_objs = 0;
   int run_length = 0;