File kvm-qemu-preXX-vnc-fix-build-error-from-VNC_DIRTY_WORDS.patch of Package kvm.853

From a0843a68c4e79df801342ec37347dfebc591082e Mon Sep 17 00:00:00 2001
From: Anthony Liguori <aliguori@us.ibm.com>
Date: Tue, 22 Mar 2011 11:27:33 -0500
Subject: [PATCH] vnc: fix build error from VNC_DIRTY_WORDS

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
---
 ui/vnc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ui/vnc.c b/ui/vnc.c
index 2f71769..14f2930 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);
         }
     }
 }
-- 
1.6.0.2