xrootd/xrootd-format.patch
Mattias Ellert 18c0177563 Update to version 5.0.1
Remove conditionals for building on EPEL 6
Drop patches (accepted upstream or previously backported)
Fix 32 bit compilation (format error)
Fix compilation on ARM, PPC and S390X (char is unsigned)
2020-08-27 19:04:09 +02:00

25 lines
1.1 KiB
Diff

From f157ee65d253d98a3c5a384f2e99c1a0c736d845 Mon Sep 17 00:00:00 2001
From: Mattias Ellert <mattias.ellert@physics.uu.se>
Date: Thu, 27 Aug 2020 14:43:18 +0200
Subject: [PATCH] Fix 32 bit compilation
---
src/XrdPfc/XrdPfc.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/XrdPfc/XrdPfc.cc b/src/XrdPfc/XrdPfc.cc
index eaf3c79b7..eca001b2b 100644
--- a/src/XrdPfc/XrdPfc.cc
+++ b/src/XrdPfc/XrdPfc.cc
@@ -650,7 +650,7 @@ void Cache::dec_ref_cnt(File* f, bool high_debug)
"\"b_hit\":%lld,\"b_miss\":%lld,\"b_bypass\":%lld}",
f->GetLocalPath().c_str(), f->GetFileSize(), f->GetBlockSize(),
f->GetNBlocks(), f->GetNDownloadedBlocks(),
- f->GetAccessCnt(), (long long) as->AttachTime, (long long) as->DetachTime,
+ (unsigned long) f->GetAccessCnt(), (long long) as->AttachTime, (long long) as->DetachTime,
as->BytesHit, as->BytesMissed, as->BytesBypassed
);
bool suc = false;
--
2.26.2