svn commit: samba r25426 - in branches: SAMBA_3_2/source/nsswitch SAMBA_3_2_0/source/nsswitch

obnox at samba.org obnox at samba.org
Sat Sep 29 08:25:45 GMT 2007


Author: obnox
Date: 2007-09-29 08:25:44 +0000 (Sat, 29 Sep 2007)
New Revision: 25426

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=25426

Log:
Fix another implicit cast warning.

Michael


Modified:
   branches/SAMBA_3_2/source/nsswitch/pam_winbind.c
   branches/SAMBA_3_2_0/source/nsswitch/pam_winbind.c


Changeset:
Modified: branches/SAMBA_3_2/source/nsswitch/pam_winbind.c
===================================================================
--- branches/SAMBA_3_2/source/nsswitch/pam_winbind.c	2007-09-29 07:57:13 UTC (rev 25425)
+++ branches/SAMBA_3_2/source/nsswitch/pam_winbind.c	2007-09-29 08:25:44 UTC (rev 25426)
@@ -70,7 +70,7 @@
 
 	_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);

Modified: branches/SAMBA_3_2_0/source/nsswitch/pam_winbind.c
===================================================================
--- branches/SAMBA_3_2_0/source/nsswitch/pam_winbind.c	2007-09-29 07:57:13 UTC (rev 25425)
+++ branches/SAMBA_3_2_0/source/nsswitch/pam_winbind.c	2007-09-29 08:25:44 UTC (rev 25426)
@@ -70,7 +70,7 @@
 
 	_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);



More information about the samba-cvs mailing list