root/root-format-fix.patch

28 lines
1.2 KiB
Diff

From 1d4aaf9e503669ccb0275f3f9b8a87a486671334 Mon Sep 17 00:00:00 2001
From: Mattias Ellert <mattias.ellert@physics.uu.se>
Date: Fri, 13 Mar 2020 14:34:48 +0100
Subject: [PATCH] Size types should use %z
---
tree/dataframe/src/RCsvDS.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tree/dataframe/src/RCsvDS.cxx b/tree/dataframe/src/RCsvDS.cxx
index 81f802285b..fc0a18e21f 100644
--- a/tree/dataframe/src/RCsvDS.cxx
+++ b/tree/dataframe/src/RCsvDS.cxx
@@ -368,9 +368,9 @@ std::vector<std::pair<ULong64_t, ULong64_t>> RCsvDS::GetEntryRanges()
if (gDebug > 0) {
if (fLinesChunkSize == -1LL) {
- Info("GetEntryRanges", "Attempted to read entire CSV file into memory, %lu lines read", fRecords.size());
+ Info("GetEntryRanges", "Attempted to read entire CSV file into memory, %zu lines read", fRecords.size());
} else {
- Info("GetEntryRanges", "Attempted to read chunk of %lld lines of CSV file into memory, %lu lines read", fLinesChunkSize, fRecords.size());
+ Info("GetEntryRanges", "Attempted to read chunk of %lld lines of CSV file into memory, %zu lines read", fLinesChunkSize, fRecords.size());
}
}
--
2.24.1