From: Changyeon Lee Date: Wed, 17 Dec 2014 11:21:04 +0000 (+0900) Subject: Fix type casting error at 64bit system X-Git-Tag: submit/tizen/20151209.095229~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cd5609fb63c9e302f339b75cf73fff7f6d210741;p=platform%2Fadaptation%2Fsamsung_exynos%2Flibtbm-exynos.git Fix type casting error at 64bit system Change-Id: Ic942460148bbb758d07734df6a0f40a77d64f032 --- 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;