From a81a104ec2030e2efa765326ccd0f6e71dd90670 Mon Sep 17 00:00:00 2001 From: SooChan Lim Date: Fri, 24 Mar 2017 21:45:07 +0900 Subject: [PATCH] fix the build break at aarch64 ARCH fix the cast from pointer to integer of different size [-Werror=pointer-to-int-cast] Change-Id: I44129b306ac43522726305a1d475839e8b6ac8ba --- src/tbm_bufmgr_exynos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tbm_bufmgr_exynos.c b/src/tbm_bufmgr_exynos.c index 3e7c3e7..a9803a5 100644 --- a/src/tbm_bufmgr_exynos.c +++ b/src/tbm_bufmgr_exynos.c @@ -430,7 +430,7 @@ _exynos_cache_flush(tbm_bufmgr_exynos bufmgr_exynos, tbm_bo_exynos bo_exynos, in /* if bo_exynos is null, do cache_flush_all */ if (bo_exynos) { cache_op.flags = 0; - cache_op.usr_addr = (uint64_t)((uint32_t)bo_exynos->pBase); + cache_op.usr_addr = (uint64_t)((uintptr_t)bo_exynos->pBase); cache_op.size = bo_exynos->size; } else { flags = TBM_EXYNOS_CACHE_FLUSH_ALL; -- 2.34.1