openbsd-ports/databases/evolution-data-server/patches/patch-tests_libedata-cal_test-cal-backend-sexp_c

16 lines
627 B
Plaintext

$OpenBSD: patch-tests_libedata-cal_test-cal-backend-sexp_c,v 1.3 2012/10/18 13:54:56 ajacoutot Exp $
XXX remove when we have a 64-bit time_t
--- tests/libedata-cal/test-cal-backend-sexp.c.orig Mon Sep 19 07:03:01 2011
+++ tests/libedata-cal/test-cal-backend-sexp.c Thu Dec 29 09:09:34 2011
@@ -9,7 +9,7 @@ test_query (const gchar *query)
gboolean generator = e_cal_backend_sexp_evaluate_occur_times (sexp, &start, &end);
if (generator) {
- printf ("%s: %ld - %ld\n", query, start, end);
+ printf ("%s: %ld - %ld\n", query, (long)start, (long)end);
} else {
printf ("%s: no time prunning possible\n", query);
}