diff options
Diffstat (limited to 'src/tdm_drm_hwc.c')
-rw-r--r-- | src/tdm_drm_hwc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tdm_drm_hwc.c b/src/tdm_drm_hwc.c index 5f7bc6a..6903d53 100644 --- a/src/tdm_drm_hwc.c +++ b/src/tdm_drm_hwc.c @@ -175,7 +175,7 @@ static void _print_validate_result(tdm_drm_hwc *hwc_data, hal_tdm_hwc_window **composited_wnds, uint32_t num_wnds) { tdm_drm_hwc_window_data *hwc_window_data = NULL; - int i; + unsigned int i; for (i = 0; i < num_wnds; i++) { hwc_window_data = composited_wnds[i]; @@ -358,7 +358,7 @@ _drm_hwc_apply_policy(tdm_drm_hwc *hwc_data , hal_tdm_hwc_window **composited_wn int ui_lzpos_bottom = ZPOS_0; int num_ui_layers = NUM_UI_LAYERS; int set_clients_below = 0; - int i = 0; + unsigned int i = 0; composited_list = (tdm_drm_hwc_window_data **)composited_wnds; @@ -636,7 +636,7 @@ drm_hwc_get_changed_composition_types(hal_tdm_hwc *hwc, uint32_t *num_elements, { tdm_drm_hwc *hwc_data = hwc; tdm_drm_hwc_window_data *hwc_window_data = NULL; - int num = 0; + unsigned int num = 0; RETURN_VAL_IF_FAIL(hwc_data != NULL, HAL_TDM_ERROR_INVALID_PARAMETER); RETURN_VAL_IF_FAIL(num_elements != NULL, HAL_TDM_ERROR_INVALID_PARAMETER); |