$OpenBSD: patch-calendar_gui_alarm-notify_alarm_c,v 1.2 2011/12/29 09:26:11 ajacoutot Exp $ On OpenBSD, time_t is an int. --- calendar/gui/alarm-notify/alarm.c.orig Thu Oct 20 12:38:02 2011 +++ calendar/gui/alarm-notify/alarm.c Thu Dec 29 09:36:25 2011 @@ -101,7 +101,7 @@ alarm_ready_cb (gpointer data) if (ar->trigger > now) break; - debug (("Process alarm with trigger %lu", ar->trigger)); + debug (("Process alarm with trigger %d", ar->trigger)); notify_id = ar; ar_copy = *ar; @@ -156,7 +156,7 @@ setup_timeout (void) now = time (NULL); /* Add the time out */ - debug (("Setting timeout for %d.%2d (from now) %lu %lu", + debug (("Setting timeout for %d.%2d (from now) %d %d", diff / 60, diff % 60, ar->trigger, now)); debug ((" %s", ctime (&ar->trigger))); debug ((" %s", ctime (&now)));