fix the build break at aarch64 ARCH 89/120889/1
authorSooChan Lim <sc1.lim@samsung.com>
Fri, 24 Mar 2017 12:45:07 +0000 (21:45 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Fri, 24 Mar 2017 12:45:07 +0000 (21:45 +0900)
fix the cast from pointer to integer of different size [-Werror=pointer-to-int-cast]

Change-Id: I44129b306ac43522726305a1d475839e8b6ac8ba

src/tbm_bufmgr_exynos.c

index 3e7c3e7..a9803a5 100644 (file)
@@ -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;