]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: fix warning
authorYehuda Sadeh <yehuda.sadeh@dreamhost.com>
Thu, 19 Jan 2012 17:11:09 +0000 (09:11 -0800)
committerYehuda Sadeh <yehuda.sadeh@dreamhost.com>
Thu, 19 Jan 2012 17:11:09 +0000 (09:11 -0800)
Signed-off-by: Yehuda Sadeh <yehuda.sadeh@dreamhost.com>
src/rgw/rgw_rados.cc

index 6ff1f1573debd50ac39aab3f9e803a9cadf8565a..2f66cdc0e69583fe051759060b34b2b66d2d469f 100644 (file)
@@ -2428,7 +2428,7 @@ int RGWRados::process_intent_log(rgw_bucket& bucket, string& oid,
   cout << "processing intent log " << oid << std::endl;
   rgw_obj obj(bucket, oid);
 
-  int chunk = 1024 * 1024;
+  unsigned chunk = 1024 * 1024;
   off_t pos = 0;
   bool eof = false;
   bool complete = true;