From: SooChan Lim Date: Fri, 24 Mar 2017 12:45:07 +0000 (+0900) Subject: fix the build break at aarch64 ARCH X-Git-Tag: submit/tizen/20170328.072410~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a81a104ec2030e2efa765326ccd0f6e71dd90670;p=platform%2Fadaptation%2Fsamsung_exynos%2Flibtbm-exynos.git 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 --- 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;