gpu/kms: Fix connector id type in helper

It's a uint32_t, not a long.

https://gitlab.gnome.org/GNOME/mutter/issues/548
https://gitlab.gnome.org/GNOME/mutter/merge_requests/525
This commit is contained in:
Jonas Ådahl 2019-03-08 18:38:42 +01:00 committed by Georges Basile Stavracas Neto
parent 065bf752f4
commit 5d5d296551

View File

@ -569,7 +569,7 @@ create_mode (const drmModeModeInfo *drm_mode,
static MetaOutput *
find_output_by_connector_id (GList *outputs,
glong id)
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;
}