summaryrefslogtreecommitdiff
path: root/src/backends/native/meta-kms-impl-device.c
diff options
context:
space:
mode:
authorDaniel van Vugt <daniel.van.vugt@canonical.com>2019-09-06 17:54:00 +0800
committerJonas Ã…dahl <jadahl@gmail.com>2019-09-20 11:55:49 +0200
commit7a0340c57d5c7d23783096c174672eb502c6c2b3 (patch)
tree0645c63e8d418bcc6f97b715c001a42e7a829200 /src/backends/native/meta-kms-impl-device.c
parent0863bd240872c538825c0e262621372c452bb4e2 (diff)
downloadmutter-7a0340c57d5c7d23783096c174672eb502c6c2b3.tar.gz
kms-impl-device: Use portable formatting for 64-bit integers
On 64-bit systems uint64_t is %lu but on 32-bit systems it is %llu. https://gitlab.gnome.org/GNOME/mutter/merge_requests/778
Diffstat (limited to 'src/backends/native/meta-kms-impl-device.c')
-rw-r--r--src/backends/native/meta-kms-impl-device.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backends/native/meta-kms-impl-device.c b/src/backends/native/meta-kms-impl-device.c
index 2f7cb7f89..dde192b42 100644
--- a/src/backends/native/meta-kms-impl-device.c
+++ b/src/backends/native/meta-kms-impl-device.c
@@ -266,7 +266,8 @@ get_plane_type (MetaKmsImplDevice *impl_device,
case DRM_PLANE_TYPE_OVERLAY:
return META_KMS_PLANE_TYPE_OVERLAY;
default:
- g_warning ("Unhandled plane type %lu", props->prop_values[idx]);
+ g_warning ("Unhandled plane type %" G_GUINT64_FORMAT,
+ props->prop_values[idx]);
return -1;
}
}