summaryrefslogtreecommitdiff
path: root/libgpo/gpext/gpext.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgpo/gpext/gpext.c')
-rw-r--r--libgpo/gpext/gpext.c2
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;
}