Fix printf type warning. Jeremy.
authorJeremy Allison <jra@samba.org>
Thu, 19 Feb 2009 21:11:36 +0000 (13:11 -0800)
committerMichael Adam <obnox@samba.org>
Fri, 8 May 2009 09:20:55 +0000 (11:20 +0200)
source/registry/reg_backend_db.c

index 40b15250200ac28d99ba1627d5648b1b3d95d512..83e2b4b981296025a4db367aac0627555ad889a4 100644 (file)
@@ -644,8 +644,8 @@ static bool regdb_store_keys_internal(const char *key, struct 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;
                        }