summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-12-03 08:16:51 +0000
committerAndrew Tridgell <tridge@samba.org>2001-12-03 08:16:51 +0000
commitb6b84cf7099c3b2cee777cf9514b3e6665a4025f (patch)
treef80207cf87fce0704e90dcd152808ea67b2beea2 /source3/rpc_parse
parent4405a1cc4f1d4e965e1459477dca9f058e89479e (diff)
downloadsamba-b6b84cf7099c3b2cee777cf9514b3e6665a4025f.tar.gz
samba-b6b84cf7099c3b2cee777cf9514b3e6665a4025f.tar.bz2
samba-b6b84cf7099c3b2cee777cf9514b3e6665a4025f.zip
const religion
(This used to be commit 359ca8f246c46b1700418fe0226458023f808d67)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r--source3/rpc_parse/parse_lsa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_parse/parse_lsa.c b/source3/rpc_parse/parse_lsa.c
index 90fa8d8fff..6aa696369a 100644
--- a/source3/rpc_parse/parse_lsa.c
+++ b/source3/rpc_parse/parse_lsa.c
@@ -1052,7 +1052,7 @@ makes a structure.
********************************************************************/
void init_q_lookup_names(TALLOC_CTX *mem_ctx, LSA_Q_LOOKUP_NAMES *q_l,
- POLICY_HND *hnd, int num_names, char **names)
+ POLICY_HND *hnd, int num_names, const char **names)
{
int i;
@@ -1078,7 +1078,7 @@ void init_q_lookup_names(TALLOC_CTX *mem_ctx, LSA_Q_LOOKUP_NAMES *q_l,
}
for (i = 0; i < num_names; i++) {
- char* name = names[i];
+ const char *name = names[i];
int len = strlen(name);
init_uni_hdr(&q_l->hdr_name[i], len);