1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-15 20:25:17 +03:00
aports/community/mumble/32-bit.patch
2024-12-09 22:44:09 +00:00

15 lines
569 B
Diff

Fix type conversion on 32 bit targets
Ref https://github.com/mumble-voip/mumble/issues/6377#issuecomment-2526348545
--- a/src/murmur/ServerUser.h
+++ b/src/murmur/ServerUser.h
@@ -86,7 +86,7 @@ private:
unsigned int m_maxTokens;
/// The amount of tokens currently stored
/// (The amount of whater currently in the bucket)
- long m_currentTokens;
+ qint64 m_currentTokens;
/// A timer that is used to measure time intervals. It is essential
/// that this timer uses a monotonic clock (which is why QElapsedTimer is
/// used instead of QTime or QDateTime).