s4:registry: Fix size type and loop
authorAndreas Schneider <asn@samba.org>
Wed, 21 Mar 2018 15:46:49 +0000 (16:46 +0100)
committerJeremy Allison <jra@samba.org>
Tue, 3 Apr 2018 18:20:10 +0000 (20:20 +0200)
commitc4a73ccd8f23eceae3ee598d9841860e7342230d
tree5edc0a91f356a8d14e62f1cca7be9a1c20859773
parentbc3834d6910c71159ee5e6dc3b04475706d9e846
s4:registry: Fix size type and loop

This fixes compilation with -Wstrict-overflow=2.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/lib/registry/tools/regshell.c