From d52612a7d9336fff18d298aed7a7c9a756b9d31e Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 19 Sep 2006 01:28:25 +0000 Subject: r18667: Two C++ warnings (This used to be commit 8c60e71229cd577f3b17345c5824363dd202eba9) --- source3/nsswitch/pam_winbind.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/nsswitch/pam_winbind.c') diff --git a/source3/nsswitch/pam_winbind.c b/source3/nsswitch/pam_winbind.c index eace97aa64..3bd90106ec 100644 --- a/source3/nsswitch/pam_winbind.c +++ b/source3/nsswitch/pam_winbind.c @@ -575,7 +575,7 @@ static int winbind_auth_request(pam_handle_t * pamh, /* If winbindd returned a username, return the pointer to it here. */ if (user_ret && response.extra_data.data) { /* We have to trust it's a null terminated string. */ - *user_ret = response.extra_data.data; + *user_ret = (char *)response.extra_data.data; } return ret; -- cgit