On Wed, Jan 04, 2012 at 10:50:09PM +0100, Stefan Weil wrote:
> color_reg is expected to hold 32 bit values, so it was too small.
> 
> This bug was reported by coverity:
> 
> hw/sm501.c:624:
> result_independent_of_operands:
> color_reg >> 16 is 0 regardless of the values of its operands.
> This occurs as the bitwise first operand of '&'.
> 
> Cc: Shin-ichiro Kawasaki <kawas...@juno.dti.ne.jp>
> Signed-off-by: Stefan Weil <s...@weilnetz.de>
> ---
>  hw/sm501.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 

Thanks, applied.


-- 
Aurelien Jarno                          GPG: 1024D/F1BCDB73
aurel...@aurel32.net                 http://www.aurel32.net

Reply via email to