Fix type casting error at 64bit system 49/52349/1
authorChangyeon Lee <cyeon.lee@samsung.com>
Wed, 17 Dec 2014 11:21:04 +0000 (20:21 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Mon, 23 Nov 2015 04:43:57 +0000 (13:43 +0900)
Change-Id: Ic942460148bbb758d07734df6a0f40a77d64f032

src/tbm_bufmgr_exynos4412.c

index 2ceabc2..7cf4a6e 100644 (file)
@@ -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;