Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
write_subkeylist(struct db_context *db, struct regkey *key, char sep)
{
cbuf *buf = cbuf_new(talloc_tos());
- int i;
+ size_t i;
bool ret;
cbuf_putdw(buf, key->nsubkeys);
{
cbuf *buf = cbuf_new(talloc_tos());
char *path;
- int i;
+ size_t i;
bool ret = false;
char **sorted = talloc_zero_array(buf, char*, key->nsubkeys);
int offset = (1 + key->nsubkeys) * sizeof(uint32_t);
{
cbuf *buf = cbuf_new(talloc_tos());
char *path;
- int i;
+ size_t i;
bool ret = false;
cbuf_putdw(buf, key->nvalues);