mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 08:00:42 -05:00
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:
parent
065bf752f4
commit
5d5d296551
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user