diff options
| author | Volker RĂ¼melin <vr_qemu@t-online.de> | 2019-12-19 21:34:05 +0100 |
|---|---|---|
| committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-01-06 08:47:16 +0100 |
| commit | 40ad46d3cc463fab5a23db466f77e37aff23f927 (patch) | |
| tree | 570b69d511a35fd247337824b073386290aaaed0 /hw/intc/omap_intc.c | |
| parent | 7c9eb86e679b3b6992f97bd60440dbd1a9a75929 (diff) | |
| download | focaccia-qemu-40ad46d3cc463fab5a23db466f77e37aff23f927.tar.gz focaccia-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 'hw/intc/omap_intc.c')
0 files changed, 0 insertions, 0 deletions