aboutsummaryrefslogtreecommitdiff
path: root/hw/cirrus_vga.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-07 16:03:05 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-07 16:03:05 +0000
commit70c14705c36ccbab58b25a00c59a83cdc6a8449f (patch)
tree0763c9aa929d1b80a0b3107b7d4069e150e7f72b /hw/cirrus_vga.c
parent50773fd23d4c269516a1ddc19964f562d7e580ff (diff)
downloadqemu-70c14705c36ccbab58b25a00c59a83cdc6a8449f.zip
qemu-70c14705c36ccbab58b25a00c59a83cdc6a8449f.tar.gz
qemu-70c14705c36ccbab58b25a00c59a83cdc6a8449f.tar.bz2
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
Diffstat (limited to 'hw/cirrus_vga.c')
-rw-r--r--hw/cirrus_vga.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/cirrus_vga.c b/hw/cirrus_vga.c
index 8aade84..ec0297f 100644
--- a/hw/cirrus_vga.c
+++ b/hw/cirrus_vga.c
@@ -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)