Re: [PATCH spice-gtk] channel-display: Use proper sized maximum

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

 



ping

> 
> "audio_delay" is 32 bit as defined by protocol.
> 
> Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx>
> ---
>  src/channel-display.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/channel-display.c b/src/channel-display.c
> index cda0fcdd..542920bb 100644
> --- a/src/channel-display.c
> +++ b/src/channel-display.c
> @@ -1473,7 +1473,7 @@ static void
> display_update_stream_report(SpiceDisplayChannel *channel, uint32_t
>          if (spice_session_is_playback_active(session)) {
>              report.audio_delay =
>              spice_session_get_playback_latency(session);
>          } else {
> -            report.audio_delay = UINT_MAX;
> +            report.audio_delay = UINT32_MAX;
>          }
>  
>          msg = spice_msg_out_new(SPICE_CHANNEL(channel),
>          SPICE_MSGC_DISPLAY_STREAM_REPORT);

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]