diff options
author | Volker RĂ¼melin | 2019-12-19 21:34:05 +0100 |
---|---|---|
committer | Gerd Hoffmann | 2020-01-06 08:47:16 +0100 |
commit | 40ad46d3cc463fab5a23db466f77e37aff23f927 (patch) | |
tree | 570b69d511a35fd247337824b073386290aaaed0 /tests/qemu-iotests/028 | |
parent | paaudio: wait until the recording stream is ready (diff) | |
download | qemu-40ad46d3cc463fab5a23db466f77e37aff23f927.tar.gz qemu-40ad46d3cc463fab5a23db466f77e37aff23f927.tar.xz qemu-40ad46d3cc463fab5a23db466f77e37aff23f927.zip |
audio: fix integer overflow
Tell the compiler to do a 32bit * 32bit -> 64bit multiplication
because period_ticks is a 64bit variable. The overflow occurs
for audio timer periods larger than 4294967us.
Fixes: be1092afa0 "audio: fix audio timer rate conversion bug"
Signed-off-by: Volker RĂ¼melin <vr_qemu@t-online.de>
Message-id: 8893a235-66a8-8fbe-7d95-862e29da90b1@t-online.de
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/028')
0 files changed, 0 insertions, 0 deletions