summaryrefslogtreecommitdiff
path: root/source4/lib/registry/ldb.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-09-13 23:07:10 +1000
committerAndrew Tridgell <tridge@samba.org>2010-09-15 15:39:35 +1000
commitce2004d631bb7eb0aa838f07ef48465a6f199d22 (patch)
tree4c9e173d8cf7f6c45cc32b94491c52ad58611fe4 /source4/lib/registry/ldb.c
parent041c699f3ae10d189405b93977e3143813fb4525 (diff)
downloadsamba-ce2004d631bb7eb0aa838f07ef48465a6f199d22.tar.gz
samba-ce2004d631bb7eb0aa838f07ef48465a6f199d22.tar.bz2
samba-ce2004d631bb7eb0aa838f07ef48465a6f199d22.zip
s4: fixed some printf format errors
Diffstat (limited to 'source4/lib/registry/ldb.c')
-rw-r--r--source4/lib/registry/ldb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/registry/ldb.c b/source4/lib/registry/ldb.c
index 91c6763902..09f39f6f30 100644
--- a/source4/lib/registry/ldb.c
+++ b/source4/lib/registry/ldb.c
@@ -201,7 +201,7 @@ static struct ldb_message *reg_ldb_pack_value(struct ldb_context *ctx,
char *conv_str;
conv_str = talloc_asprintf(msg, "0x%16.16llx",
- BVAL(data.data, 0));
+ (unsigned long long)BVAL(data.data, 0));
if (conv_str == NULL) {
talloc_free(msg);
return NULL;