]> git.proxmox.com Git - qemu.git/commit
audio: fix integer overflow expression
authorJuha Riihim?ki <juha.riihimaki@nokia.com>
Tue, 31 May 2011 18:40:21 +0000 (19:40 +0100)
committermalc <av1474@comtv.ru>
Tue, 31 May 2011 20:14:07 +0000 (00:14 +0400)
commit578c7b2ca8ee9e97fa8693b1a83d517e8e3f962e
treeea68cab307d6f7adc55c50f897d1c86c3efd398b
parentb1d7d2b93a1d6b2d2848b616cc35acdf521c923c
audio: fix integer overflow expression

Fix an integer overflow that can happen for signed 32 bit types
when using FLOAT_MIXENG. (Note that at the moment this is only true
when using the MacOSX coreaudio audio driver.)

Signed-off-by: Juha Riihim?ki <juha.riihimaki@nokia.com>
[Peter Maydell: Removed unnecessary casts]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: malc <av1474@comtv.ru>
audio/mixeng_template.h