summaryrefslogtreecommitdiff
path: root/source4/lib/registry/tools/regtree.c
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-11-07 21:07:20 +0100
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-06 17:48:25 +0100
commit89ab6818e170b305a70b7258ac11e11a2eb53aeb (patch)
tree3dad36645e6776fdda1bd1162f9338a88c3df38c /source4/lib/registry/tools/regtree.c
parent5a3633faf12cdec41dc18064d5364a3fd067a22d (diff)
downloadsamba-89ab6818e170b305a70b7258ac11e11a2eb53aeb.tar.gz
samba-89ab6818e170b305a70b7258ac11e11a2eb53aeb.tar.bz2
samba-89ab6818e170b305a70b7258ac11e11a2eb53aeb.zip
s4:libregistry - change counters to be "unsigned"
Also the s4 registry library has to have "unsigned" counters like the Windows one.
Diffstat (limited to 'source4/lib/registry/tools/regtree.c')
-rw-r--r--source4/lib/registry/tools/regtree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/registry/tools/regtree.c b/source4/lib/registry/tools/regtree.c
index d266b604e3..72158283b3 100644
--- a/source4/lib/registry/tools/regtree.c
+++ b/source4/lib/registry/tools/regtree.c
@@ -43,7 +43,7 @@ static void print_tree(int level, struct registry_key *p,
DATA_BLOB valuedata;
struct security_descriptor *sec_desc;
WERROR error;
- int i;
+ unsigned int i;
TALLOC_CTX *mem_ctx;
for(i = 0; i < level; i++) putchar(' '); puts(name);