Commit 5d5d2965 authored by Jonas Ådahl's avatar Jonas Ådahl Committed by Georges Basile Stavracas Neto

gpu/kms: Fix connector id type in helper

It's a uint32_t, not a long.

parent 065bf752
......@@ -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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment