diff options
author | Günther Deschner <gd@samba.org> | 2008-12-09 12:39:14 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-12-09 12:41:00 +0100 |
commit | 89e57a8fad2be4e36a726822072548d7a64bf68f (patch) | |
tree | 57411b306867cd7364a7dfb37fd2ede2015fe543 /source3/rpc_server | |
parent | 9985898e94e4aa4476c87ed34e0899a5f4117752 (diff) | |
download | samba-89e57a8fad2be4e36a726822072548d7a64bf68f.tar.gz samba-89e57a8fad2be4e36a726822072548d7a64bf68f.tar.xz samba-89e57a8fad2be4e36a726822072548d7a64bf68f.zip |
s3-srvsvc: fix build warning.
Guenther
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_srvsvc_nt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_srvsvc_nt.c b/source3/rpc_server/srv_srvsvc_nt.c index 67ff1fecf6..15af963c4c 100644 --- a/source3/rpc_server/srv_srvsvc_nt.c +++ b/source3/rpc_server/srv_srvsvc_nt.c @@ -522,7 +522,7 @@ static WERROR init_srv_share_info_ctr(pipes_struct *p, TALLOC_CTX *ctx = p->mem_ctx; int i = 0; int valid_share_count = 0; - bool *allowed = 0; + bool *allowed = 0; union srvsvc_NetShareCtr ctr; uint32_t resume_handle = resume_handle_p ? *resume_handle_p : 0; @@ -535,7 +535,7 @@ static WERROR init_srv_share_info_ctr(pipes_struct *p, num_services = lp_numservices(); unbecome_root(); - allowed = TALLOC_ZERO_ARRAY(ctx, int, num_services); + allowed = TALLOC_ZERO_ARRAY(ctx, bool, num_services); W_ERROR_HAVE_NO_MEMORY(allowed); /* Count the number of entries. */ |