Fix printf type warning.
[jra/samba/.git] / source3 / registry / reg_backend_db.c
index fe5f192..8ef83a1 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;
                        }