qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 1/3] monitor: avoid clang shifting negative sign


From: Eduardo Habkost
Subject: Re: [Qemu-devel] [PATCH 1/3] monitor: avoid clang shifting negative signed warning
Date: Fri, 13 Nov 2015 13:37:09 -0200
User-agent: Mutt/1.5.23 (2014-03-12)

On Tue, Nov 10, 2015 at 03:57:33PM +0000, Stefan Hajnoczi wrote:
> clang 3.7.0 on x86_64 warns about the following:
> 
>   target-i386/monitor.c:38:22: warning: shifting a negative signed value is 
> undefined [-Wshift-negative-value]
>         addr |= -1LL << 48;
>                 ~~~~ ^
> 
> Signed-off-by: Stefan Hajnoczi <address@hidden>

Reviewed-by: Eduardo Habkost <address@hidden>

Applied to x86 tree. Thanks!

-- 
Eduardo



reply via email to

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