diff --git a/ChangeLog b/ChangeLog index e80f41c..5cd513f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-09-01 John Carr + + * Fix building on x86_64 + 2007-01-18 Richard Hughes * Initial release to git diff --git a/libidletime/libidletime.c b/libidletime/libidletime.c index 2a0775b..4a14666 100644 --- a/libidletime/libidletime.c +++ b/libidletime/libidletime.c @@ -240,7 +240,7 @@ idletime_x_event_filter (GdkXEvent *gdkxevent, GdkEvent *event, gpointer data) /* save the last state we triggered */ idletime->priv->last_event = alarm->id; - g_debug ("%s: alarm %d fired, idle time = %lld", G_STRFUNC, alarm->id, xsyncvalue_to_int64(&alarm_event->counter_value)); + g_debug ("%s: alarm %d fired, idle time = %" G_GINT64_FORMAT, G_STRFUNC, alarm->id, xsyncvalue_to_int64(&alarm_event->counter_value)); /* do the signal */ if (alarm->id != 0) { idletime_timeout (idletime, alarm); diff --git a/plugins/glue/idle/ohm-plugin-idle.c b/plugins/glue/idle/ohm-plugin-idle.c index f163d9a..3b90f02 100644 --- a/plugins/glue/idle/ohm-plugin-idle.c +++ b/plugins/glue/idle/ohm-plugin-idle.c @@ -107,7 +107,7 @@ plugin_notify (OhmPlugin *plugin, gint id, gint value) } else if (id == CONF_IDLE_RESET && value == 1) { timeout_offset = idletime_get_current_idle (idletime); ohm_plugin_conf_get_key (plugin, "idle.timeout", &timeout); - g_debug ("idle plugin reset. current timeout = %d, timeout-offset = %lld", timeout, timeout_offset); + g_debug ("idle plugin reset. current timeout = %d, timeout-offset = %" G_GINT64_FORMAT, timeout, timeout_offset); /* most of the time this isn't needed as the below set * of idle.state will result in a timout change,