[mutter] gpu/kms: Fix connector id type in helper
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] gpu/kms: Fix connector id type in helper
- Date: Thu, 20 Jun 2019 13:48:16 +0000 (UTC)
commit 5d5d296551e659f6ae19055e73cf7c4cb3005698
Author: Jonas Ã…dahl <jadahl gmail com>
Date: Fri Mar 8 18:38:42 2019 +0100
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
src/backends/native/meta-gpu-kms.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]