openbsd-ports/databases/evolution-data-server/patches/patch-addressbook_backends_vcf_e-book-backend-vcf_c
jasper bdbfbbc2f4 - update to 3.1.92
- hardcode (but with XXX) 3.2 for now
2011-09-21 13:26:03 +00:00

13 lines
593 B
Plaintext

$OpenBSD: patch-addressbook_backends_vcf_e-book-backend-vcf_c,v 1.5 2011/09/21 13:26:03 jasper Exp $
--- addressbook/backends/vcf/e-book-backend-vcf.c.orig Sun Sep 4 00:50:05 2011
+++ addressbook/backends/vcf/e-book-backend-vcf.c Sat Sep 17 09:57:03 2011
@@ -78,7 +78,7 @@ e_book_backend_vcf_create_unique_id (void)
* it's doubtful 2^32 id's will be created in a second, so we
* should be okay. */
static guint c = 0;
- return g_strdup_printf (PAS_ID_PREFIX "%08lX%08X", time(NULL), c++);
+ return g_strdup_printf (PAS_ID_PREFIX "%08lX%08X", (long)time(NULL), c++);
}
static void