From 6765a8acfdd520006fc59847d137675c7f82592a Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Sat, 29 Sep 2007 08:25:44 +0000 Subject: r25426: Fix another implicit cast warning. Michael (This used to be commit 4a053d5bf9db82b5ae9ac342f68e90ef89ba292f) --- source3/nsswitch/pam_winbind.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/nsswitch/pam_winbind.c b/source3/nsswitch/pam_winbind.c index fde5b03611..f00db39b45 100644 --- a/source3/nsswitch/pam_winbind.c +++ b/source3/nsswitch/pam_winbind.c @@ -70,7 +70,7 @@ static void _pam_log_int(const pam_handle_t *pamh, _pam_get_item(pamh, PAM_SERVICE, &service); - format2 = malloc(strlen(MODULE_NAME)+strlen(format)+strlen(service)+5); + format2 = (char *)malloc(strlen(MODULE_NAME)+strlen(format)+strlen(service)+5); if (format2 == NULL) { /* what else todo ? */ vsyslog(err, format, args); -- cgit