From bcc502cff9fea2d892a0344879e420df1d10fb47 Mon Sep 17 00:00:00 2001 From: Ethan Yonker Date: Mon, 10 Nov 2014 11:22:10 -0600 Subject: Make TWRP compile for arm64 -Remove dosfstools for arm64 until we can make it compile -Fix TW_USE_TOOLBOX flag to work again -Fix symlinking and handling of sh when using mksh -Fix legacy properties to find futex_wake function -Fix libcrecovery to not use bsd_signal anymore -Fix rules for building with regards to libcrecovery -Update toolbox_recovery rules to compile tools in lollipop -Fix a few compile errors specific to arm64 Testers report that TWRP does not boot on Nexus 9 and we fail to get a shell for adb shell. At least it compiles without errors. Change-Id: I286be8628defb60cc527b8a548c0bdfcb0ebb574 --- minuitwrp/graphics.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'minuitwrp') diff --git a/minuitwrp/graphics.c b/minuitwrp/graphics.c index 9926904ef..d08e74303 100644 --- a/minuitwrp/graphics.c +++ b/minuitwrp/graphics.c @@ -300,10 +300,10 @@ static int get_framebuffer(GGLSurface *fb) fb->height = vi.yres; #ifdef BOARD_HAS_JANKY_BACKBUFFER fb->stride = fi.line_length/2; - fb->data = (void*) (((unsigned) bits) + vi.yres * fi.line_length); + fb->data = (GGLubyte*) (((unsigned long) bits) + vi.yres * fi.line_length); #else fb->stride = vi.xres_virtual; - fb->data = (void*) (((unsigned) bits) + vi.yres * fb->stride * PIXEL_SIZE); + fb->data = (GGLubyte*) (((unsigned long) bits) + vi.yres * fb->stride * PIXEL_SIZE); #endif fb->format = PIXEL_FORMAT; if (!has_overlay) { -- cgit v1.2.3