From 4a053d5bf9db82b5ae9ac342f68e90ef89ba292f Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Sat, 29 Sep 2007 08:25:44 +0000 Subject: [PATCH] r25426: Fix another implicit cast warning. Michael --- source/nsswitch/pam_winbind.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/nsswitch/pam_winbind.c b/source/nsswitch/pam_winbind.c index fde5b0361..f00db39b4 100644 --- a/source/nsswitch/pam_winbind.c +++ b/source/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); -- 2.34.1