1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-08 04:58:40 +03:00

r25426: Fix another implicit cast warning.

Michael
(This used to be commit 4a053d5bf9db82b5ae9ac342f68e90ef89ba292f)
This commit is contained in:
Michael Adam 2007-09-29 08:25:44 +00:00 committed by Gerald (Jerry) Carter
parent 9cffea618a
commit 6765a8acfd

View File

@ -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);