qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 2/3] audio/hda: fix CID 1393631


From: Philippe Mathieu-Daudé
Subject: Re: [Qemu-devel] [PATCH 2/3] audio/hda: fix CID 1393631
Date: Mon, 2 Jul 2018 13:38:21 -0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0

On 07/02/2018 11:55 AM, Gerd Hoffmann wrote:
> Signed-off-by: Gerd Hoffmann <address@hidden>

Reviewed-by: Philippe Mathieu-Daudé <address@hidden>

> ---
>  hw/audio/hda-codec.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/hw/audio/hda-codec.c b/hw/audio/hda-codec.c
> index 9f630fa37f..2b58c3505b 100644
> --- a/hw/audio/hda-codec.c
> +++ b/hw/audio/hda-codec.c
> @@ -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)
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]