Fix another implicit cast warning.
authorobnox <obnox@0c0555d6-39d7-0310-84fc-f1cc0bd64818>
Sat, 29 Sep 2007 08:25:44 +0000 (08:25 +0000)
committerobnox <obnox@0c0555d6-39d7-0310-84fc-f1cc0bd64818>
Sat, 29 Sep 2007 08:25:44 +0000 (08:25 +0000)
Michael

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25426 0c0555d6-39d7-0310-84fc-f1cc0bd64818

source/nsswitch/pam_winbind.c

index fde5b03..f00db39 100644 (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);