diff options
-rw-r--r-- | source3/passdb/pdb_samba4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/pdb_samba4.c b/source3/passdb/pdb_samba4.c index b8b11e4551..62e2b1b1a0 100644 --- a/source3/passdb/pdb_samba4.c +++ b/source3/passdb/pdb_samba4.c @@ -325,7 +325,7 @@ static bool pdb_samba4_add_time(struct ldb_message *msg, unix_to_nt_time(&nt_time, t); - return ldb_msg_add_fmt(msg, attrib, "%llu", nt_time); + return ldb_msg_add_fmt(msg, attrib, "%llu", (unsigned long long) nt_time); } /* Like in pdb_ldap(), this will need to be a function pointer when we |