summaryrefslogtreecommitdiff
path: root/source3/registry
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-02-19 13:11:36 -0800
committerJeremy Allison <jra@samba.org>2009-02-19 13:11:36 -0800
commit2ca48d3740c40be2142ca7e7ad88aabdaa822c06 (patch)
treeaee9ec8864ef3ad151adee92bf379203a45e15d6 /source3/registry
parent9823b4343d87fc0c45f3c60a49855674fc6ff7c8 (diff)
downloadsamba-2ca48d3740c40be2142ca7e7ad88aabdaa822c06.tar.gz
samba-2ca48d3740c40be2142ca7e7ad88aabdaa822c06.tar.bz2
samba-2ca48d3740c40be2142ca7e7ad88aabdaa822c06.zip
Fix printf type warning.
Jeremy.
Diffstat (limited to 'source3/registry')
-rw-r--r--source3/registry/reg_backend_db.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/registry/reg_backend_db.c b/source3/registry/reg_backend_db.c
index fe5f192713..8ef83a19a1 100644
--- a/source3/registry/reg_backend_db.c
+++ b/source3/registry/reg_backend_db.c
@@ -550,8 +550,8 @@ static bool regdb_store_keys_internal(const char *key, REGSUBKEY_CTR *ctr)
(len+thistime)*2);
if(buffer == NULL) {
DEBUG(0, ("regdb_store_keys: Failed to realloc "
- "memory of size [%d]\n",
- (len+thistime)*2));
+ "memory of size [%u]\n",
+ (unsigned int)(len+thistime)*2));
ret = false;
goto done;
}