commit | a0843a68c4e79df801342ec37347dfebc591082e | [log] [tgz] |
---|---|---|
author | Anthony Liguori <aliguori@us.ibm.com> | Tue Mar 22 11:27:33 2011 -0500 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Tue Mar 22 11:27:33 2011 -0500 |
tree | 4865dd7dff6f51d070de458a7f6012049977f277 | |
parent | 6ed391bf90ca8442a6a9c8a29467a8750b1bfb64 [diff] |
vnc: fix build error from VNC_DIRTY_WORDS Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
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 @@ 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); } } }