From cd5609fb63c9e302f339b75cf73fff7f6d210741 Mon Sep 17 00:00:00 2001 From: Changyeon Lee Date: Wed, 17 Dec 2014 20:21:04 +0900 Subject: [PATCH] Fix type casting error at 64bit system Change-Id: Ic942460148bbb758d07734df6a0f40a77d64f032 --- src/tbm_bufmgr_exynos4412.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tbm_bufmgr_exynos4412.c b/src/tbm_bufmgr_exynos4412.c index 2ceabc2..7cf4a6e 100644 --- a/src/tbm_bufmgr_exynos4412.c +++ b/src/tbm_bufmgr_exynos4412.c @@ -305,7 +305,7 @@ _exynos4412_bo_handle (tbm_bo_exynos4412 bo_exynos4412, int device) getpid(), __FUNCTION__, __LINE__, bo_exynos4412->gem); return (tbm_bo_handle) NULL; } - bo_exynos4412->pBase = (void*)((unsigned int)arg.mapped); + bo_exynos4412->pBase = (void*)((unsigned long)arg.mapped); } bo_handle.ptr = (void *)bo_exynos4412->pBase; -- 2.34.1