From 4e9c2c1b385a7c09f564fce8dc7157f403731d8d Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 26 Jun 2014 09:13:47 -0700 Subject: [PATCH] osd: fix pg_stat_t int -> int32_t Still 4 bytes on i386 and x86_64. Signed-off-by: Sage Weil --- src/osd/osd_types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/osd/osd_types.h b/src/osd/osd_types.h index 08cac9cafcb..7d01403fbe6 100644 --- a/src/osd/osd_types.h +++ b/src/osd/osd_types.h @@ -1340,8 +1340,8 @@ struct pg_stat_t { bool hitset_stats_invalid; /// up, acting primaries - int up_primary; - int acting_primary; + int32_t up_primary; + int32_t acting_primary; pg_stat_t() : reported_seq(0), -- 2.47.3