summaryrefslogtreecommitdiffstats
path: root/exynos4/hal/libgralloc_ump/alloc_device.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'exynos4/hal/libgralloc_ump/alloc_device.cpp')
-rw-r--r--exynos4/hal/libgralloc_ump/alloc_device.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/exynos4/hal/libgralloc_ump/alloc_device.cpp b/exynos4/hal/libgralloc_ump/alloc_device.cpp
index 2110f8d..05df8d1 100644
--- a/exynos4/hal/libgralloc_ump/alloc_device.cpp
+++ b/exynos4/hal/libgralloc_ump/alloc_device.cpp
@@ -240,7 +240,7 @@ static int gralloc_alloc_buffer(alloc_device_t* dev, size_t size, int usage,
private_handle_rect *psFRect;
psRect = (private_handle_rect *)calloc(1, sizeof(private_handle_rect));
psRect->handle = (int)hnd->ump_id;
- psRect->stride = (int)hnd->stride_raw;
+ psRect->stride = stride_raw;
psFRect = find_last_rect((int)hnd->ump_id);
psFRect->next = psRect;
}