aboutsummaryrefslogtreecommitdiffstats
path: root/minui
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2014-02-06 02:59:38 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-02-06 02:59:38 +0000
commit2739ed9628f72813d213b7a429c4c1b8dcebe5fc (patch)
tree447fee2410642f9723e34f6eddf8e2d006a3f56b /minui
parentfd84f65dcda3c7e4b42c71a7df85efebdbf7ea7a (diff)
parenta5d105e2397d81537facd93fd8a9d3e263d57dc9 (diff)
downloadbootable_recovery-2739ed9628f72813d213b7a429c4c1b8dcebe5fc.zip
bootable_recovery-2739ed9628f72813d213b7a429c4c1b8dcebe5fc.tar.gz
bootable_recovery-2739ed9628f72813d213b7a429c4c1b8dcebe5fc.tar.bz2
am a5d105e2: Merge "recovery: fix building with pointer-to-int errors turned on"
* commit 'a5d105e2397d81537facd93fd8a9d3e263d57dc9': recovery: fix building with pointer-to-int errors turned on
Diffstat (limited to 'minui')
-rw-r--r--minui/graphics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/minui/graphics.c b/minui/graphics.c
index d757165..a2014dc 100644
--- a/minui/graphics.c
+++ b/minui/graphics.c
@@ -157,7 +157,7 @@ static int get_framebuffer(GGLSurface *fb)
fb->width = vi.xres;
fb->height = vi.yres;
fb->stride = fi.line_length/PIXEL_SIZE;
- fb->data = (void*) (((unsigned) bits) + vi.yres * fi.line_length);
+ fb->data = (void*) (((char*) bits) + vi.yres * fi.line_length);
fb->format = PIXEL_FORMAT;
memset(fb->data, 0, vi.yres * fi.line_length);