diff options
author | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2009-11-07 21:07:20 +0100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-03-06 17:48:25 +0100 |
commit | 89ab6818e170b305a70b7258ac11e11a2eb53aeb (patch) | |
tree | 3dad36645e6776fdda1bd1162f9338a88c3df38c /source4/lib/registry/patchfile.c | |
parent | 5a3633faf12cdec41dc18064d5364a3fd067a22d (diff) | |
download | samba-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/patchfile.c')
-rw-r--r-- | source4/lib/registry/patchfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/registry/patchfile.c b/source4/lib/registry/patchfile.c index 0631e760cb..19e27f5837 100644 --- a/source4/lib/registry/patchfile.c +++ b/source4/lib/registry/patchfile.c @@ -44,7 +44,7 @@ WERROR reg_generate_diff_key(struct registry_key *oldkey, const struct reg_diff_callbacks *callbacks, void *callback_data) { - int i; + unsigned int i; struct registry_key *t1 = NULL, *t2 = NULL; char *tmppath; const char *keyname1; @@ -256,7 +256,7 @@ _PUBLIC_ WERROR reg_generate_diff(struct registry_context *ctx1, const struct reg_diff_callbacks *callbacks, void *callback_data) { - int i; + unsigned int i; WERROR error; for (i = 0; reg_predefined_keys[i].name; i++) { |