2013-09-26 17:14:40 +02:00

19 lines
575 B
Plaintext

$NetBSD: patch-ce,v 1.1 2010/07/12 17:52:29 drochner Exp $
--- addressbook/backends/ldap/e-book-backend-ldap.c.orig 2010-06-11 17:50:57.000000000 +0000
+++ addressbook/backends/ldap/e-book-backend-ldap.c
@@ -1267,11 +1267,11 @@ create_dn_from_contact (EContact *contac
}
}
- dn = g_strdup_printf ("%s=%s%s%lu",
+ dn = g_strdup_printf ("%s=%s%s%llu",
get_dn_attribute_name (rootdn),
(cn_part && *cn_part) ? cn_part : "",
(cn_part && *cn_part) ? "." : "",
- time (NULL));
+ (long long)time (NULL));
g_free (cn_part);