mirror of
https://github.com/openharmony/third_party_weston.git
synced 2026-07-01 22:04:04 -04:00
fix: Solve the problems of unreasonable function parameter types and BufferHandle following private data
Signed-off-by: YOUR_NAME <xieyingdong1@huawei.com>
This commit is contained in:
@@ -320,7 +320,7 @@ hdi_output_set_mode(struct weston_output *base)
|
||||
struct weston_head *whead = weston_output_get_first_head(&output->base);
|
||||
uint32_t device_id = hdi_head_get_device_id(whead);
|
||||
|
||||
int mode_number = 0;
|
||||
uint32_t mode_number = 0;
|
||||
int ret = b->device_funcs->GetDisplaySupportedModes(device_id, &mode_number, NULL);
|
||||
LOG_CORE("DeviceFuncs.GetDisplaySupportedModes return %d", ret);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user