const char **_oid,
int *map_idx)
{
- int i;
- uint32_t hi_word, lo_word;
+ uint32_t i, hi_word, lo_word;
DATA_BLOB bin_oid = {NULL, 0};
char *oid;
struct drsuapi_DsReplicaOIDMapping *map_entry = NULL;
static bool test_dsdb_schema_info_from_blob(struct torture_context *tctx,
struct drsut_schemainfo_data *priv)
{
- int i;
+ uint32_t i;
WERROR werr;
char *msg;
struct dsdb_schema_info *schema_info;
static bool test_dsdb_blob_from_schema_info(struct torture_context *tctx,
struct drsut_schemainfo_data *priv)
{
- int i;
+ uint32_t i;
WERROR werr;
char *msg;
DATA_BLOB ndr_blob;
static bool torture_drs_unit_schemainfo_setup(struct torture_context *tctx,
struct drsut_schemainfo_data **_priv)
{
- int i;
+ size_t i;
int ldb_err;
NTSTATUS status;
DATA_BLOB ndr_blob;
DEBUG(1,("\tdn: %s\n", r->dn));
for (i=0; i<r->num_attributes; i++) {
- int j;
+ unsigned int j;
for (j=0; j<r->attributes[i].num_values; j++) {
DEBUG(1,("\t%s: %d %.*s\n", r->attributes[i].name,
(int)r->attributes[i].values[j].length,
bool ret = false;
const char *host = torture_setting_string(torture, "host", NULL);
char *url;
- int i;
codepoint_t j;
struct ldb_message_element *elem;
struct ldb_message *msg;
ret = true;
if (ctx->count > 1) {
+ unsigned int i;
for (i=0;i<ctx->count;i++) {
msg = ctx->msgs[i];
elem = ldb_msg_find_element(msg,"cn");
static int nested_search_callback(struct ldb_request *req,
struct ldb_reply *ares)
{
- int i;
+ unsigned int i;
int res;
struct nested_search_context *sctx;
struct ldb_result *ldb_res;