freebsd-ports/audio/mumble/files/patch-src_MumbleProtocol.cpp
Vladimir Druzenko f2a60bd4e0 audio/mumble{,-server}: fix build on i386
Upstream issue: https://github.com/mumble-voip/mumble/issues/6377

Reported by:	pkg-fallout
Approved by:	arrowd (mentor, implicit)
2024-04-05 19:27:58 +03:00

11 lines
457 B
C++

--- src/MumbleProtocol.cpp.orig 2024-03-03 17:26:27 UTC
+++ src/MumbleProtocol.cpp
@@ -781,7 +781,7 @@ namespace Protocol {
}
- m_audioData.payload = gsl::span< byte >(payloadBegin, payloadSize);
+ m_audioData.payload = gsl::span< byte >(payloadBegin, static_cast< size_t >(payloadSize));
if (stream.left() == 3 * sizeof(float)) {
// If there are further bytes after the audio payload, this means that there is positional data attached to