16 lines
621 B
Plaintext
16 lines
621 B
Plaintext
$OpenBSD: patch-addressbook_backends_vcf_e-book-backend-vcf_c,v 1.7 2012/03/29 06:45:21 ajacoutot Exp $
|
|
|
|
On OpenBSD, time_t is an int.
|
|
|
|
--- addressbook/backends/vcf/e-book-backend-vcf.c.orig Tue Feb 21 09:04:18 2012
|
|
+++ addressbook/backends/vcf/e-book-backend-vcf.c Fri Mar 23 23:05:19 2012
|
|
@@ -83,7 +83,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 "%08X%08X", time(NULL), c++);
|
|
}
|
|
|
|
static void
|