5680c2de97
* translation updates and bug fixes
16 lines
631 B
Plaintext
16 lines
631 B
Plaintext
$OpenBSD: patch-addressbook_backends_file_e-book-backend-file_c,v 1.11 2012/04/16 14:22:30 jasper Exp $
|
|
|
|
On OpenBSD, time_t is an int.
|
|
|
|
--- addressbook/backends/file/e-book-backend-file.c.orig Mon Apr 9 07:00:58 2012
|
|
+++ addressbook/backends/file/e-book-backend-file.c Mon Apr 16 15:42:48 2012
|
|
@@ -758,7 +758,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 "%08X%08X", time(NULL), c++);
|
|
}
|
|
|
|
static gchar *
|