mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
backends/native: Use proper string format for uint64_t
This may stir some pain in 32bit arches. Fixes: https://gitlab.gnome.org/GNOME/mutter/-/issues/1395
This commit is contained in:
parent
673e08e458
commit
f69bb2097d
@ -186,14 +186,14 @@ meta_crtc_kms_set_mode (MetaCrtcKms *crtc_kms,
|
||||
|
||||
mode = meta_crtc_mode_kms_get_drm_mode (crtc_mode_kms);
|
||||
|
||||
g_debug ("Setting CRTC (%ld) mode to %s",
|
||||
g_debug ("Setting CRTC (%" G_GUINT64_FORMAT ") mode to %s",
|
||||
meta_crtc_get_id (crtc), mode->name);
|
||||
}
|
||||
else
|
||||
{
|
||||
mode = NULL;
|
||||
|
||||
g_debug ("Unsetting CRTC (%ld) mode",
|
||||
g_debug ("Unsetting CRTC (%" G_GUINT64_FORMAT ") mode",
|
||||
meta_crtc_get_id (crtc));
|
||||
}
|
||||
|
||||
|
@ -414,7 +414,7 @@ meta_monitor_manager_kms_set_crtc_gamma (MetaMonitorManager *manager,
|
||||
g_autoptr (MetaKmsFeedback) kms_feedback = NULL;
|
||||
|
||||
gamma_ramp_string = generate_gamma_ramp_string (size, red, green, blue);
|
||||
g_debug ("Setting CRTC (%ld) gamma to %s",
|
||||
g_debug ("Setting CRTC (%" G_GUINT64_FORMAT ") gamma to %s",
|
||||
meta_crtc_get_id (crtc), gamma_ramp_string);
|
||||
|
||||
kms_update = meta_kms_ensure_pending_update (kms);
|
||||
|
Loading…
Reference in New Issue
Block a user