diff options
author | Günther Deschner <gd@samba.org> | 2014-11-14 14:12:26 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2014-11-24 21:16:09 +0100 |
commit | 943f2b68c92ad5ba36f5d0af327c0d9a0d147d80 (patch) | |
tree | 85c731349366aa2f0be7be7846d3240cab635a2f /libgpo/gpext | |
parent | 26f9bf1fa4f207005fc2c26e85eeb7a091ce8a27 (diff) | |
download | samba-943f2b68c92ad5ba36f5d0af327c0d9a0d147d80.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
The last 3 patches address
BUG: https://bugzilla.samba.org/show_bug.cgi?id=10942
cleanup add_string_to_array and usage
Diffstat (limited to 'libgpo/gpext')
-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; } |