diff --git a/src/backends/native/meta-gpu-kms.c b/src/backends/native/meta-gpu-kms.c index 235867e99..36b090379 100644 --- a/src/backends/native/meta-gpu-kms.c +++ b/src/backends/native/meta-gpu-kms.c @@ -568,8 +568,8 @@ create_mode (const drmModeModeInfo *drm_mode, } static MetaOutput * -find_output_by_connector_id (GList *outputs, - glong id) +find_output_by_connector_id (GList *outputs, + uint32_t connector_id) { GList *l; @@ -577,7 +577,7 @@ find_output_by_connector_id (GList *outputs, { MetaOutput *output = l->data; - if (meta_output_kms_get_connector_id (output) == id) + if (meta_output_kms_get_connector_id (output) == connector_id) return output; }