mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
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
This commit is contained in:
parent
0863bd2408
commit
7a0340c57d
@ -266,7 +266,8 @@ get_plane_type (MetaKmsImplDevice *impl_device,
|
|||||||
case DRM_PLANE_TYPE_OVERLAY:
|
case DRM_PLANE_TYPE_OVERLAY:
|
||||||
return META_KMS_PLANE_TYPE_OVERLAY;
|
return META_KMS_PLANE_TYPE_OVERLAY;
|
||||||
default:
|
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;
|
return -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user