From c2da46d1d0820a86e7f77506563cfe7f67b08fee Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 26 Aug 1998 03:06:48 +0000 Subject: use a separate ZERO_ARRAY() macro instead of ZERO_STRUCT() for arrays. This prevents (harmless) warnings from some compilers --- source/lsarpcd/srv_lsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/lsarpcd') diff --git a/source/lsarpcd/srv_lsa.c b/source/lsarpcd/srv_lsa.c index 0675743eee8..35ceeace04f 100644 --- a/source/lsarpcd/srv_lsa.c +++ b/source/lsarpcd/srv_lsa.c @@ -392,7 +392,7 @@ static void api_lsa_lookup_names( int uid, prs_struct *data, ZERO_STRUCT(sid_S_1_1); ZERO_STRUCT(sid_S_1_3); ZERO_STRUCT(sid_S_1_5); - ZERO_STRUCT(dom_rids); + ZERO_ARRAY(dom_rids); /* grab the info class and policy handle */ lsa_io_q_lookup_rids("", &q_l, data, 0); -- cgit