Fix type of fd handle 38/295738/1
authorChangyeon Lee <cyeon.lee@samsung.com>
Thu, 13 Jul 2023 06:00:50 +0000 (15:00 +0900)
committerChangyeon Lee <cyeon.lee@samsung.com>
Thu, 13 Jul 2023 06:00:50 +0000 (15:00 +0900)
Change-Id: I00e65e551a7b524b6c43b02d70e3c183bc7df5c0

src/tbm_backend_dumb.c

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