summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2011-06-06 22:34:00 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2011-06-09 09:35:15 +0200
commit4d0c00bb33ec9fe54b8e87491001047d06525c70 (patch)
treec50c21e2639c17765a5b9a8555c532aa24c27dd9 /source3
parent7ebafb000a79e9317b267ae09b9fa9b0685b9209 (diff)
downloadsamba-4d0c00bb33ec9fe54b8e87491001047d06525c70.tar.gz
samba-4d0c00bb33ec9fe54b8e87491001047d06525c70.tar.bz2
samba-4d0c00bb33ec9fe54b8e87491001047d06525c70.zip
s3:passdb/pdb_samba4.c - fix a format specifier warning
Reviewed-by: Tridge
Diffstat (limited to 'source3')
-rw-r--r--source3/passdb/pdb_samba4.c2
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