summaryrefslogtreecommitdiff
path: root/source4/dsdb/schema/schema_prefixmap.c
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-11-06 20:14:41 +0100
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-07 19:01:15 +0100
commit5a54b204c3d2b6c9282cdd459a3d1030fde48926 (patch)
tree64b4f4ac60c78eb7fe348d314392490d9d434fd4 /source4/dsdb/schema/schema_prefixmap.c
parentbd5f08f3d10d12a34a9b3f40594d36f0d6d37eb9 (diff)
downloadsamba-5a54b204c3d2b6c9282cdd459a3d1030fde48926.tar.gz
samba-5a54b204c3d2b6c9282cdd459a3d1030fde48926.tar.bz2
samba-5a54b204c3d2b6c9282cdd459a3d1030fde48926.zip
s4:schema - Change also here counters to "unsigned" where needed
Counters which are used in the way "for (i = 0; array[i] != NULL; i++)" I modified to "unsigned" since for sure we don't want to have negative array indexes there.
Diffstat (limited to 'source4/dsdb/schema/schema_prefixmap.c')
-rw-r--r--source4/dsdb/schema/schema_prefixmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/schema/schema_prefixmap.c b/source4/dsdb/schema/schema_prefixmap.c
index 89d33779e4..0ed078fa32 100644
--- a/source4/dsdb/schema/schema_prefixmap.c
+++ b/source4/dsdb/schema/schema_prefixmap.c
@@ -316,7 +316,7 @@ WERROR dsdb_schema_pfm_make_attid(struct dsdb_schema_prefixmap *pfm, const char
WERROR dsdb_schema_pfm_oid_from_attid(struct dsdb_schema_prefixmap *pfm, uint32_t attid,
TALLOC_CTX *mem_ctx, const char **_oid)
{
- int i;
+ uint32_t i;
uint32_t hi_word, lo_word;
DATA_BLOB bin_oid = {NULL, 0};
struct dsdb_schema_prefixmap_oid *pfm_entry;