mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
Sparse fixes: dubious mixing of bitwise and logical operations
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6741 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
50773fd23d
commit
70c14705c3
2 changed files with 5 additions and 5 deletions
|
@ -2246,7 +2246,7 @@ static void cirrus_cursor_invalidate(VGAState *s1)
|
|||
CirrusVGAState *s = (CirrusVGAState *)s1;
|
||||
int size;
|
||||
|
||||
if (!s->sr[0x12] & CIRRUS_CURSOR_SHOW) {
|
||||
if (!(s->sr[0x12] & CIRRUS_CURSOR_SHOW)) {
|
||||
size = 0;
|
||||
} else {
|
||||
if (s->sr[0x12] & CIRRUS_CURSOR_LARGE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue