Fix type casting error at 64bit system 61/32361/1 accepted/tizen/mobile/20141218.011800 accepted/tizen/tv/20141218.011319 submit/tizen_mobile/20141217.112213 submit/tizen_tv/20141217.113101
authorChangyeon Lee <cyeon.lee@samsung.com>
Wed, 17 Dec 2014 11:21:04 +0000 (20:21 +0900)
committerChangyeon Lee <cyeon.lee@samsung.com>
Wed, 17 Dec 2014 11:21:09 +0000 (20:21 +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;