Fix compiler warning in debug message.
authorJeremy Allison <jra@samba.org>
Thu, 17 Mar 2011 17:35:10 +0000 (10:35 -0700)
committerJeremy Allison <jra@samba.org>
Thu, 17 Mar 2011 17:35:10 +0000 (10:35 -0700)
source3/passdb/pdb_ads.c

index 9960d3897dfed26f88f7f990a695291e460f2f8b..654bc5de6fbeb2727471c5b3eb180435d787c9c0 100644 (file)
@@ -2231,7 +2231,7 @@ static bool pdb_ads_sid_to_id(struct pdb_methods *m, const struct dom_sid *sid,
        }
        if (talloc_array_length(msg) != 1) {
                DEBUG(10, ("Got %d objects, expected 1\n",
-                          talloc_array_length(msg)));
+                          (int)talloc_array_length(msg)));
                goto fail;
        }
        if (!tldap_pull_uint32(msg[0], "samAccountType", &atype)) {