diff options
| author | Bernard Xiong <[email protected]> | 2017-12-23 23:56:18 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2017-12-24 00:06:29 +0800 |
| commit | a5664695d3671ca0e954238a0a56dcccfb636a7e (patch) | |
| tree | b1841d14398681a869393165b5881371585ff516 | |
| parent | f7a8d6eb164bfce68093c915d530422535b96d02 (diff) | |
[BSP] fix compiling warning in QEMU vexpress-a9
| -rw-r--r-- | bsp/qemu-vexpress-a9/drivers/drv_clcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/qemu-vexpress-a9/drivers/drv_clcd.c b/bsp/qemu-vexpress-a9/drivers/drv_clcd.c index f4122e00c4..543924e718 100644 --- a/bsp/qemu-vexpress-a9/drivers/drv_clcd.c +++ b/bsp/qemu-vexpress-a9/drivers/drv_clcd.c @@ -102,7 +102,7 @@ int drv_clcd_hw_init(void) plio->tim0 = 0x3F1F3C00 | ((CLCD_WIDTH/16 - 1) << 2); plio->tim1 = 0x080B6000 | (CLCD_HEIGHT - 1); - plio->upbase = _lcd.fb; + plio->upbase = (uint32_t)_lcd.fb; /* 16-bit 565 color */ plio->control = 0x1921 | (0x6 << 1); |
