$OpenBSD: patch-addressbook_backends_vcf_e-book-backend-vcf_c,v 1.3 2010/09/30 07:32:09 ajacoutot Exp $ --- addressbook/backends/vcf/e-book-backend-vcf.c.orig Tue Sep 28 07:49:28 2010 +++ addressbook/backends/vcf/e-book-backend-vcf.c Tue Sep 28 07:49:42 2010 @@ -79,7 +79,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