From: Yehuda Sadeh Date: Mon, 8 Oct 2012 23:34:12 +0000 (-0700) Subject: rgw: switch perm to uint32_t X-Git-Tag: v0.54~79 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=df1d17fc4b21c95cfb11a2d17bba6b69487d19bb;p=ceph.git rgw: switch perm to uint32_t Should fix a warning. Signed-off-by: Yehuda Sadeh --- diff --git a/src/rgw/rgw_common.cc b/src/rgw/rgw_common.cc index efb3623ded4..07451e39393 100644 --- a/src/rgw/rgw_common.cc +++ b/src/rgw/rgw_common.cc @@ -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},