qemu-e2k/audio
Volker Rümelin 40ad46d3cc 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>
2020-01-06 08:47:16 +01:00
..
alsaaudio.c
audio_int.h
audio_legacy.c
audio_template.h
audio_win_int.c
audio_win_int.h
audio.c audio: fix integer overflow 2020-01-06 08:47:16 +01:00
audio.h
coreaudio.c
dsound_template.h
dsoundaudio.c
Makefile.objs
mixeng_template.h
mixeng.c
mixeng.h
noaudio.c
ossaudio.c
paaudio.c
rate_template.h
sdlaudio.c
spiceaudio.c
trace-events
wavaudio.c
wavcapture.c