diff options
-rw-r--r-- | source4/winbind/wb_samba3_cmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/winbind/wb_samba3_cmd.c b/source4/winbind/wb_samba3_cmd.c index 0f927dfc3a..2096cd7ed5 100644 --- a/source4/winbind/wb_samba3_cmd.c +++ b/source4/winbind/wb_samba3_cmd.c @@ -436,9 +436,9 @@ NTSTATUS wbsrv_samba3_pam_auth_crap(struct wbsrv_samba3_call *s3call) chal.data = s3call->request.data.auth_crap.chal; chal.length = sizeof(s3call->request.data.auth_crap.chal); - nt_resp.data = s3call->request.data.auth_crap.nt_resp; + nt_resp.data = (uint8_t *)s3call->request.data.auth_crap.nt_resp; nt_resp.length = s3call->request.data.auth_crap.nt_resp_len; - lm_resp.data = s3call->request.data.auth_crap.lm_resp; + lm_resp.data = (uint8_t *)s3call->request.data.auth_crap.lm_resp; lm_resp.length = s3call->request.data.auth_crap.lm_resp_len; ctx = wb_cmd_pam_auth_crap_send( |