16 lines
653 B
Plaintext
16 lines
653 B
Plaintext
$OpenBSD: patch-addressbook_backends_file_e-book-backend-file_c,v 1.19 2013/03/29 15:17:01 ajacoutot Exp $
|
|
|
|
XXX remove when we have a 64-bit time_t
|
|
|
|
--- addressbook/backends/file/e-book-backend-file.c.orig Sun Mar 17 13:46:02 2013
|
|
+++ addressbook/backends/file/e-book-backend-file.c Fri Mar 29 13:32:31 2013
|
|
@@ -601,7 +601,7 @@ e_book_backend_file_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 gchar *
|