From df2967a602baaffd62c6fffecf16d8698181b9f1 Mon Sep 17 00:00:00 2001 From: Greg Farnum Date: Mon, 24 Oct 2011 15:22:35 -0700 Subject: [PATCH] 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 --- src/rgw/rgw_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rgw/rgw_common.h b/src/rgw/rgw_common.h index 6d0fffeab630e..fc87efd9cdd35 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; -- 2.39.5