From 8d7c88667190fe286971ac4fffb64ee5bd9eeeb0 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 18 Oct 2005 03:24:00 +0000 Subject: r11137: Compile with only 2 warnings (I'm still working on that code) on a gcc4 x86_64 box. Jeremy. (This used to be commit d720867a788c735e56d53d63265255830ec21208) --- source3/rpc_parse/parse_samr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/rpc_parse/parse_samr.c') diff --git a/source3/rpc_parse/parse_samr.c b/source3/rpc_parse/parse_samr.c index 1aaebf71e3..dfe80a65e2 100644 --- a/source3/rpc_parse/parse_samr.c +++ b/source3/rpc_parse/parse_samr.c @@ -7050,12 +7050,12 @@ void init_samr_q_chgpasswd_user(SAMR_Q_CHGPASSWD_USER * q_u, init_unistr2(&q_u->uni_user_name, user_name, UNI_FLAGS_NONE); init_uni_hdr(&q_u->hdr_user_name, &q_u->uni_user_name); - init_enc_passwd(&q_u->nt_newpass, nt_newpass); + init_enc_passwd(&q_u->nt_newpass, (const char *)nt_newpass); init_enc_hash(&q_u->nt_oldhash, nt_oldhash); q_u->unknown = 0x01; - init_enc_passwd(&q_u->lm_newpass, lm_newpass); + init_enc_passwd(&q_u->lm_newpass, (const char *)lm_newpass); init_enc_hash(&q_u->lm_oldhash, lm_oldhash); } -- cgit