Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
My own not-quite-13.2 systems build sayonara fine, but the cluster has been sending pkg-fallout messages. Make some types more obvious for the compiler.
- Loading branch information
Adriaan de Groot
authored and
Adriaan de Groot
committed
Apr 1, 2024
1 parent
e7846fb
commit 2de2a79
Showing
2 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
audio/sayonara/files/patch-src_Utils_Tagging_MP4_PopularimeterFrame.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- src/Utils/Tagging/MP4/PopularimeterFrame.cpp.orig 2024-04-01 19:55:44 UTC | ||
+++ src/Utils/Tagging/MP4/PopularimeterFrame.cpp | ||
@@ -28,7 +28,7 @@ namespace | ||
{ | ||
[[nodiscard]] int fourBytesToInteger(const int32_t fourBytes) | ||
{ | ||
- const auto chars = std::array { | ||
+ const auto chars = std::array<int32_t,3> { | ||
(fourBytes >> 16) & 0xFF, | ||
(fourBytes >> 8) & 0xFF, | ||
(fourBytes & 0xFF) |