gentoo-ebuilds/media-sound/mangler/files/mangler-1.2.5-narrowing_conversion.patch
Andreas Sturmlechner 657f12ed29
media-sound/mangler: bump EAPI 7 -> 8, switch to media-libs/libpulse
Add missing patch file, amends 9f99a203a9

Closes: https://bugs.gentoo.org/569006
Closes: https://bugs.gentoo.org/961796
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-08-29 16:20:00 +02:00

18 lines
709 B
Diff

Description: Declare byte array as unsigned char rather than char to avoid narrowing
A step up in pedantics in C++11 has identified a byte array that was not
declared as unsigned.
Author: William Panlener <wpanlener@gmail.com>
Bug-Debian: https://bugs.debian.org/805160
Forwarded: no
--- a/src/manglerg15.h
+++ b/src/manglerg15.h
@@ -52,7 +52,7 @@
std::vector<Glib::ustring> events;
};
-const char g15_blank[] = {
+const unsigned char g15_blank[] = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,