mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 17:40:40 -05:00
clutter/stage-cogl: Use portable formatting for 64-bit integers
On 64-bit systems int64_t is %ld but on 32-bit systems it is %lld. https://gitlab.gnome.org/GNOME/mutter/merge_requests/778
This commit is contained in:
parent
7811865e84
commit
0b19078b2b
@ -204,7 +204,7 @@ clutter_stage_cogl_schedule_update (ClutterStageWindow *stage_window,
|
|||||||
if (max_render_time_allowed <= 0)
|
if (max_render_time_allowed <= 0)
|
||||||
{
|
{
|
||||||
g_warning ("Unsupported monitor refresh rate detected. "
|
g_warning ("Unsupported monitor refresh rate detected. "
|
||||||
"(Refresh rate: %.3f, refresh interval: %ld)",
|
"(Refresh rate: %.3f, refresh interval: %" G_GINT64_FORMAT ")",
|
||||||
refresh_rate,
|
refresh_rate,
|
||||||
refresh_interval);
|
refresh_interval);
|
||||||
stage_cogl->update_time = now;
|
stage_cogl->update_time = now;
|
||||||
|
Loading…
Reference in New Issue
Block a user