]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Fix printf type warning.
authorJeremy Allison <jra@samba.org>
Thu, 19 Feb 2009 21:09:45 +0000 (13:09 -0800)
committerKarolin Seeger <kseeger@samba.org>
Fri, 20 Feb 2009 07:53:31 +0000 (08:53 +0100)
Jeremy.
(cherry picked from commit aaba9a7b9a39bd899a748c45502fb8103c863eb9)

source/registry/reg_backend_db.c

index fe5f19271395c5158da2e71e1be68551cf5dad56..8ef83a19a1bc2abdcfa8b9d34cf550629e9ee520 100644 (file)
@@ -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;
                        }