vnc: fix build error from VNC_DIRTY_WORDS
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
		
							parent
							
								
									6ed391bf90
								
							
						
					
					
						commit
						a0843a68c4
					
				
							
								
								
									
										2
									
								
								ui/vnc.c
								
								
								
								
							
							
						
						
									
										2
									
								
								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);
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue