Patchwork [02/13] pxa2xx_lcd: up field is used as a bool and migrated as an uint8_t

login
register
mail settings
Submitter Juan Quintela
Date March 10, 2011, 11:54 a.m.
Message ID <45925a97c337a2c10ca546adb090e2f0ea0b6649.1299757795.git.quintela@redhat.com>
Download mbox | patch
Permalink /patch/86264/
State New
Headers show

Comments

Juan Quintela - March 10, 2011, 11:54 a.m.
Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 hw/pxa2xx_lcd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/hw/pxa2xx_lcd.c b/hw/pxa2xx_lcd.c
index 9a19347..55e95be 100644
--- a/hw/pxa2xx_lcd.c
+++ b/hw/pxa2xx_lcd.c
@@ -17,7 +17,7 @@ 

 struct DMAChannel {
     target_phys_addr_t branch;
-    int up;
+    uint8_t up;
     uint8_t palette[1024];
     uint8_t pbuffer[1024];
     void (*redraw)(PXA2xxLCDState *s, target_phys_addr_t addr,