1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/tools/filesystems/ceph/9.0.3-i686-fix.patch
William A. Kennington III 476b70c39c ceph-dev: Fix for i686-linux
2015-09-11 16:21:07 -07:00

26 lines
792 B
Diff

From 1213dde3d207d0d91ccecfca4dd6af1bdee0ed65 Mon Sep 17 00:00:00 2001
From: Kefu Chai <kchai@redhat.com>
Date: Fri, 17 Jul 2015 01:12:03 +0800
Subject: [PATCH] cls: fix the build on i386
this is a leftover of 0dae022
Signed-off-by: Kefu Chai <kchai@redhat.com>
---
src/cls/cephfs/cls_cephfs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/cls/cephfs/cls_cephfs.h b/src/cls/cephfs/cls_cephfs.h
index 3cee0db..d4a5f23 100644
--- a/src/cls/cephfs/cls_cephfs.h
+++ b/src/cls/cephfs/cls_cephfs.h
@@ -118,7 +118,7 @@ class AccumulateResult
// Largest object seen
uint64_t max_obj_size;
// Highest mtime seen
- time_t max_mtime;
+ int64_t max_mtime;
AccumulateResult()
: ceiling_obj_index(0), ceiling_obj_size(0), max_obj_size(0), max_mtime(0)