[gnome-power-manager] Use G_GINT64_FORMAT to fix compile on 64 bit computers
- From: Richard Hughes <rhughes src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-power-manager] Use G_GINT64_FORMAT to fix compile on 64 bit computers
- Date: Mon, 20 Apr 2009 12:23:06 -0400 (EDT)
commit ae0e154b695da69e26e80a2133c9d5665daa7af3
Author: Richard Hughes <richard hughsie com>
Date: Mon Apr 20 17:22:12 2009 +0100
Use G_GINT64_FORMAT to fix compile on 64 bit computers
---
src/egg-idletime.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/egg-idletime.c b/src/egg-idletime.c
index e09ed5e..4d684f7 100644
--- a/src/egg-idletime.c
+++ b/src/egg-idletime.c
@@ -130,7 +130,7 @@ egg_idletime_handle_alarm_notify_event (EggIdletime *idletime, XSyncAlarmNotifyE
return;
}
- egg_debug ("Watch %d fired, idle time = %lld",
+ egg_debug ("Watch %d fired, idle time = %" G_GINT64_FORMAT,
watch->id, egg_idletime_xsyncvalue_to_int64 (alarm_event->counter_value));
if (alarm_event->alarm == watch->xalarm_positive) {
@@ -280,22 +280,22 @@ egg_idletime_xsync_alarm_set (EggIdletime *idletime, EggIdletimeWatch *watch)
attr.trigger.test_type = XSyncPositiveTransition;
if (watch->xalarm_positive != None) {
- egg_debug ("EggIdletime: updating alarm for positive transition wait=%lld",
+ egg_debug ("EggIdletime: updating alarm for positive transition wait=%" G_GINT64_FORMAT,
egg_idletime_xsyncvalue_to_int64 (attr.trigger.wait_value));
XSyncChangeAlarm (GDK_DISPLAY (), watch->xalarm_positive, flags, &attr);
} else {
- egg_debug ("EggIdletime: creating new alarm for positive transition wait=%lld",
+ egg_debug ("EggIdletime: creating new alarm for positive transition wait=%" G_GINT64_FORMAT,
egg_idletime_xsyncvalue_to_int64 (attr.trigger.wait_value));
watch->xalarm_positive = XSyncCreateAlarm (GDK_DISPLAY (), flags, &attr);
}
attr.trigger.test_type = XSyncNegativeTransition;
if (watch->xalarm_negative != None) {
- egg_debug ("EggIdletime: updating alarm for negative transition wait=%lld",
+ egg_debug ("EggIdletime: updating alarm for negative transition wait=%" G_GINT64_FORMAT,
egg_idletime_xsyncvalue_to_int64 (attr.trigger.wait_value));
XSyncChangeAlarm (GDK_DISPLAY (), watch->xalarm_negative, flags, &attr);
} else {
- egg_debug ("EggIdletime: creating new alarm for negative transition wait=%lld",
+ egg_debug ("EggIdletime: creating new alarm for negative transition wait=%" G_GINT64_FORMAT,
egg_idletime_xsyncvalue_to_int64 (attr.trigger.wait_value));
watch->xalarm_negative = XSyncCreateAlarm (GDK_DISPLAY (), flags, &attr);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]