aboutsummaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2011-03-22 11:27:33 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2011-03-22 11:27:33 -0500
commita0843a68c4e79df801342ec37347dfebc591082e (patch)
tree4865dd7dff6f51d070de458a7f6012049977f277 /ui
parent6ed391bf90ca8442a6a9c8a29467a8750b1bfb64 (diff)
vnc: fix build error from VNC_DIRTY_WORDS
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'ui')
-rw-r--r--ui/vnc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/vnc.c b/ui/vnc.c
index 2f71769a91..14f2930d1a 100644
--- a/ui/vnc.c
+++ b/ui/vnc.c
@@ -1659,7 +1659,7 @@ static void framebuffer_update_request(VncState *vs, int incremental,
for (i = 0; i < h; i++) {
bitmap_set(vs->dirty[y_position + i], 0, width);
bitmap_clear(vs->dirty[y_position + i], width,
- VNC_DIRTY_WORDS * BITS_PER_LONG - width);
+ VNC_DIRTY_BITS - width);
}
}
}