]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: switch perm to uint32_t
authorYehuda Sadeh <yehuda@inktank.com>
Mon, 8 Oct 2012 23:34:12 +0000 (16:34 -0700)
committerYehuda Sadeh <yehuda@inktank.com>
Mon, 8 Oct 2012 23:34:12 +0000 (16:34 -0700)
Should fix a warning.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
src/rgw/rgw_common.cc

index efb3623ded48c83440cbac857ff8ddf89be560fd..07451e39393288413ad78863baf20a3bc31bb3a7 100644 (file)
@@ -532,7 +532,7 @@ bool url_decode(string& src_str, string& dest_str)
 
 static struct {
   const char *type_name;
-  int perm;
+  uint32_t perm;
 } cap_names[] = { {"*",     RGW_CAP_ALL},
                   {"read",  RGW_CAP_READ},
                  {"write", RGW_CAP_WRITE},