From: Greg Farnum Date: Mon, 24 Oct 2011 22:22:35 +0000 (-0700) Subject: rgw: use a uint64_t instead of a size_t for storing the size X-Git-Tag: v0.38~57^2~13 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=df2967a602baaffd62c6fffecf16d8698181b9f1;p=ceph.git rgw: use a uint64_t instead of a size_t for storing the size librados uses uint64_t so that 32-bit architectures aren't hobbled. Signed-off-by: Greg Farnum --- diff --git a/src/rgw/rgw_common.h b/src/rgw/rgw_common.h index 6d0fffeab630..fc87efd9cdd3 100644 --- a/src/rgw/rgw_common.h +++ b/src/rgw/rgw_common.h @@ -522,7 +522,7 @@ struct RGWObjEnt { std::string name; std::string owner; std::string owner_display_name; - size_t size; + uint64_t size; time_t mtime; string etag; string content_type;