summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-09-29 08:25:44 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:31:04 -0500
commit6765a8acfdd520006fc59847d137675c7f82592a (patch)
tree2b2971769f9ee182bd39b20bd260a0ed69d98e13 /source3
parent9cffea618a13d37a82980ade71bb1ec927c153a0 (diff)
downloadsamba-6765a8acfdd520006fc59847d137675c7f82592a.tar.gz
samba-6765a8acfdd520006fc59847d137675c7f82592a.tar.bz2
samba-6765a8acfdd520006fc59847d137675c7f82592a.zip
r25426: Fix another implicit cast warning.
Michael (This used to be commit 4a053d5bf9db82b5ae9ac342f68e90ef89ba292f)
Diffstat (limited to 'source3')
-rw-r--r--source3/nsswitch/pam_winbind.c2
1 files changed, 1 insertions, 1 deletions
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);