summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChangyeon Lee <cyeon.lee@samsung.com>2023-07-13 15:00:50 +0900
committerChangyeon Lee <cyeon.lee@samsung.com>2023-07-13 15:00:50 +0900
commit01731a0120c5a69a0fd794396e61bb1a7a56b454 (patch)
tree5caaa7844f05750a4862b479aef1dd191b3d87c4
parent368216a46789e7b63bbe9c2ce334825defdf512d (diff)
downloadlibtbm-dumb-01731a0120c5a69a0fd794396e61bb1a7a56b454.tar.gz
libtbm-dumb-01731a0120c5a69a0fd794396e61bb1a7a56b454.tar.bz2
libtbm-dumb-01731a0120c5a69a0fd794396e61bb1a7a56b454.zip
Fix type of fd handle
Change-Id: I00e65e551a7b524b6c43b02d70e3c183bc7df5c0
-rw-r--r--src/tbm_backend_dumb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tbm_backend_dumb.c b/src/tbm_backend_dumb.c
index 2b33a35..d8c91cb 100644
--- a/src/tbm_backend_dumb.c
+++ b/src/tbm_backend_dumb.c
@@ -326,7 +326,7 @@ _dumb_bo_handle(tbm_dumb_bo *bo_data, int device)
return (hal_tbm_bo_handle) NULL;
}
- bo_handle.u32 = (uint32_t)bo_data->dmabuf;
+ bo_handle.s32 = (int32_t)bo_data->dmabuf;
break;
default:
TBM_BACKEND_ERR("Not supported device:%d", device);