mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-02-15 17:09:31 -07:00
audio/hda: fix CID 1393631
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-id: 20180702145513.11481-2-kraxel@redhat.com
This commit is contained in:
parent
9d340f6755
commit
cabedbc24e
1 changed files with 1 additions and 1 deletions
|
|
@ -189,7 +189,7 @@ struct HDAAudioState {
|
|||
|
||||
static inline int64_t hda_bytes_per_second(HDAAudioStream *st)
|
||||
{
|
||||
return 2 * st->as.nchannels * st->as.freq;
|
||||
return 2LL * st->as.nchannels * st->as.freq;
|
||||
}
|
||||
|
||||
static inline void hda_timer_sync_adjust(HDAAudioStream *st, int64_t target_pos)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue