openbsd-ports/databases/evolution-data-server/patches/patch-calendar_libedata-cal_e-cal-backend-intervaltree_c
2012-03-29 06:45:21 +00:00

16 lines
655 B
Plaintext

$OpenBSD: patch-calendar_libedata-cal_e-cal-backend-intervaltree_c,v 1.7 2012/03/29 06:45:21 ajacoutot Exp $
On OpenBSD, time_t is an int.
--- calendar/libedata-cal/e-cal-backend-intervaltree.c.orig Tue Feb 21 09:04:18 2012
+++ calendar/libedata-cal/e-cal-backend-intervaltree.c Fri Mar 23 23:05:19 2012
@@ -613,7 +613,7 @@ e_intervaltree_node_dump (EIntervalTree *tree,
*/
EIntervalTreePrivate *priv = tree->priv;
if (node != priv->nil)
- g_print ("%*s[%ld - %ld] [%ld - %ld] red %d\n", indent, "", node->start,
+ g_print ("%*s[%d - %d] [%d - %d] red %d\n", indent, "", node->start,
node->end, node->min, node->max, node->red);
else
{