1
0
Fork 0

input-settings: Use portable formatting for 64-bit integers

On 64-bit systems int64_t is %lx but on 32-bit systems it is %llx.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/778
This commit is contained in:
Daniel van Vugt 2019-09-06 17:47:13 +08:00 committed by Jonas Ådahl
parent 0b19078b2b
commit 594cc7c7d6

View file

@ -1437,7 +1437,8 @@ lookup_tool_settings (ClutterInputDeviceTool *tool,
}
else
{
path = g_strdup_printf ("/org/gnome/desktop/peripherals/stylus/%lx/", serial);
path = g_strdup_printf ("/org/gnome/desktop/peripherals/stylus/%" G_GINT64_MODIFIER "x/",
serial);
}
tool_settings =