From e2e14702167c25271bd93be69247d736786cc8c7 Mon Sep 17 00:00:00 2001 From: Manolo Carrasco Date: Sun, 28 Jun 2026 19:03:51 +0200 Subject: [PATCH] Fix macOS compile of scorecomp: cast size_t to uint64_t for TextStream Resolves: #33987 --- src/engraving/tests/utils/scorecomp.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/engraving/tests/utils/scorecomp.cpp b/src/engraving/tests/utils/scorecomp.cpp index d2cd092cedc88..63e6a36a3a5b8 100644 --- a/src/engraving/tests/utils/scorecomp.cpp +++ b/src/engraving/tests/utils/scorecomp.cpp @@ -216,13 +216,13 @@ bool ScoreComp::compareFiles(const String& fullPath1, const String& fullPath2) const size_t headerStart1 = start1Set ? start1 + 1 : 0; const size_t headerStart2 = start2Set ? start2 + 1 : 0; - ts << "@@ -" << headerStart1; + ts << "@@ -" << static_cast(headerStart1); if (count1 != 1) { - ts << "," << count1; + ts << "," << static_cast(count1); } - ts << " +" << headerStart2; + ts << " +" << static_cast(headerStart2); if (count2 != 1) { - ts << "," << count2; + ts << "," << static_cast(count2); } ts << " @@\n";