fix the build break at aarch64 ARCH accepted/tizen/common/20170307.133848 accepted/tizen/unified/20170309.031228 accepted/tizen/wearable/20170307.102039 submit/tizen/20170307.035718 submit/tizen_unified/20170308.100403
authorSooChan Lim <sc1.lim@samsung.com>
Tue, 7 Mar 2017 04:49:22 +0000 (13:49 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Tue, 7 Mar 2017 04:49:22 +0000 (13:49 +0900)
fix the cast to pointer from integer of different size [-Werror=int-to-pointer-cast]

Change-Id: I77904f4f82899b5d08e88403e12e2d725f5b11c9

src/tbm_bufmgr_exynos.c

index 446b2e4492079cc39cacae631fc8aa4079be6c76..4bb6d46498e7d053252e6f56f0a52c7450bdb392 100644 (file)
@@ -925,7 +925,7 @@ _exynos_bo_handle(tbm_bo_exynos bo_exynos, int device)
                                return (tbm_bo_handle) NULL;
                        }
 
-                       bo_exynos->pBase = (void *)((uint32_t)arg.mapped);
+                       bo_exynos->pBase = (void *)((uintptr_t)arg.mapped);
                }
                bo_handle.ptr = (void *)bo_exynos->pBase;
                break;