From 709f0c47c482b9f46f30fd5edff0e20bd8be2a52 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 26 Jun 2014 09:11:53 -0700 Subject: [PATCH] osd: fix pg_interval_t int -> int32_t Still 4 bytes on i386 and x86_64. Signed-off-by: Sage Weil --- src/osd/osd_types.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/osd/osd_types.h b/src/osd/osd_types.h index d7ed516b7d2..010b194cbc3 100644 --- a/src/osd/osd_types.h +++ b/src/osd/osd_types.h @@ -1691,11 +1691,11 @@ ostream &operator<<(ostream &lhs, const pg_notify_t ¬ify); */ class OSDMap; struct pg_interval_t { - vector up, acting; + vector up, acting; epoch_t first, last; bool maybe_went_rw; - int primary; - int up_primary; + int32_t primary; + int32_t up_primary; pg_interval_t() : first(0), last(0), -- 2.47.3