diff options
author | Günther Deschner <gd@samba.org> | 2014-11-14 14:12:26 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2014-11-17 19:53:22 +0100 |
commit | a62cc2ce447870b4f4ab6ebf9c8d999af054d06f (patch) | |
tree | 17af40d5a9209790a4699e573842e0a75b48af21 /libgpo | |
parent | ee8ddb8e02f70e9d6050490d96a87e4fd2297a05 (diff) | |
download | samba-a62cc2ce447870b4f4ab6ebf9c8d999af054d06f.tar.gz |
samba: pass down size_t instead of int to add_string_to_array().
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Mon Nov 17 19:53:22 CET 2014 on sn-devel-104
Diffstat (limited to 'libgpo')
-rw-r--r-- | libgpo/gpext/gpext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgpo/gpext/gpext.c b/libgpo/gpext/gpext.c index 2afcfecc3d7..1320dadecfc 100644 --- a/libgpo/gpext/gpext.c +++ b/libgpo/gpext/gpext.c @@ -524,7 +524,7 @@ static NTSTATUS gp_glob_ext_list(TALLOC_CTX *mem_ctx, name[PTR_DIFF(p, dirent->d_name)] = 0; if (!add_string_to_array(mem_ctx, name, ext_list, - (int *)ext_list_len)) { + ext_list_len)) { closedir(dir); return NT_STATUS_NO_MEMORY; } |