[Spice-devel] [PATCH v2 03/24] Eliminate signed/unsigned warning

Frediano Ziglio fziglio at redhat.com
Thu Feb 22 08:15:56 UTC 2018


> 
> From: Christophe de Dinechin <dinechin at redhat.com>
> 
> Signed-off-by: Christophe de Dinechin <dinechin at redhat.com>
> ---
>  src/mjpeg-fallback.cpp | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/mjpeg-fallback.cpp b/src/mjpeg-fallback.cpp
> index fd37167..5758893 100644
> --- a/src/mjpeg-fallback.cpp
> +++ b/src/mjpeg-fallback.cpp
> @@ -47,7 +47,7 @@ private:
>      std::vector<uint8_t> frame;
>  
>      // last frame sizes
> -    uint32_t last_width = ~0u, last_height = ~0u;
> +    int last_width = ~0u, last_height = ~0u;
>      // last time before capture
>      uint64_t last_time = 0;
>  };

It would be kind if you consider and reply to the previous comments.

Frediano


More information about the Spice-devel mailing list