summaryrefslogtreecommitdiffstats
path: root/minui/graphics.c
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2014-02-06 02:30:31 +0100
committerColin Cross <ccross@android.com>2014-02-06 02:34:45 +0100
commit92cdf9c37225c6f76b96c8f137896cd9e9015bbd (patch)
treedbf70c82b2e8d48e6d6515689b47cfe327f71b49 /minui/graphics.c
parentMerge "minadbd: remove dead code" (diff)
downloadandroid_bootable_recovery-92cdf9c37225c6f76b96c8f137896cd9e9015bbd.tar
android_bootable_recovery-92cdf9c37225c6f76b96c8f137896cd9e9015bbd.tar.gz
android_bootable_recovery-92cdf9c37225c6f76b96c8f137896cd9e9015bbd.tar.bz2
android_bootable_recovery-92cdf9c37225c6f76b96c8f137896cd9e9015bbd.tar.lz
android_bootable_recovery-92cdf9c37225c6f76b96c8f137896cd9e9015bbd.tar.xz
android_bootable_recovery-92cdf9c37225c6f76b96c8f137896cd9e9015bbd.tar.zst
android_bootable_recovery-92cdf9c37225c6f76b96c8f137896cd9e9015bbd.zip
Diffstat (limited to '')
-rw-r--r--minui/graphics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/minui/graphics.c b/minui/graphics.c
index d75716531..a2014dca3 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);