summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-10-29 22:47:53 +0100
committerMax Kellermann <max@musicpd.org>2018-10-29 22:50:54 +0100
commitcc5fab28af0a37aa48a6f445e1ac5cc5ef80f933 (patch)
tree67b76c0f5e9d50db38e293f086570dcfdc7d13dc /NEWS
parenta3f7127e7250196ce3cb7224739dffa2f10bf72e (diff)
pcm/FloatConvert: fix compile-time integer overflow for S32
The compile-time calculation for `factor` overflows because `1<<31` cannot be represented by `int`. By casting to `uintmax_t` first, we can avoid this overflow. Closes #380
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS1
1 files changed, 1 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index ffb1a2ef2..083855fd6 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,7 @@
ver 0.20.23 (not yet released)
* protocol
- emit "player" idle event when restarting the current song
+* fix broken float to s32 conversion
* new clang crash bug workaround
ver 0.20.22 (2018/10/23)