vnc: fix build error from VNC_DIRTY_WORDS
authorAnthony Liguori <aliguori@us.ibm.com>
Tue, 22 Mar 2011 16:27:33 +0000 (11:27 -0500)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 22 Mar 2011 16:27:33 +0000 (11:27 -0500)
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
ui/vnc.c

index 2f71769a91bb33b8beeef2a300f3f7d4a85b5760..14f2930d1aebf3efec4e4a2804a965564310bf46 100644 (file)
--- 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);
         }
     }
 }