diff options
author | Colin Cross <ccross@android.com> | 2014-02-06 03:14:22 +0100 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-02-06 03:14:22 +0100 |
commit | a5d105e2397d81537facd93fd8a9d3e263d57dc9 (patch) | |
tree | dbf70c82b2e8d48e6d6515689b47cfe327f71b49 /minui | |
parent | Merge "minadbd: remove dead code" (diff) | |
parent | recovery: fix building with pointer-to-int errors turned on (diff) | |
download | android_bootable_recovery-a5d105e2397d81537facd93fd8a9d3e263d57dc9.tar android_bootable_recovery-a5d105e2397d81537facd93fd8a9d3e263d57dc9.tar.gz android_bootable_recovery-a5d105e2397d81537facd93fd8a9d3e263d57dc9.tar.bz2 android_bootable_recovery-a5d105e2397d81537facd93fd8a9d3e263d57dc9.tar.lz android_bootable_recovery-a5d105e2397d81537facd93fd8a9d3e263d57dc9.tar.xz android_bootable_recovery-a5d105e2397d81537facd93fd8a9d3e263d57dc9.tar.zst android_bootable_recovery-a5d105e2397d81537facd93fd8a9d3e263d57dc9.zip |
Diffstat (limited to 'minui')
-rw-r--r-- | minui/graphics.c | 2 |
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); |