diff options
author | Volker Lendecke <vl@samba.org> | 2008-04-06 12:26:15 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-04-06 12:27:16 +0200 |
commit | 7d0ebc1976652c8ef8cfc5b0151342f95079d5a2 (patch) | |
tree | abb43811235467df93f890a1c7947388ef78af32 | |
parent | abe1431ad35c2af532b8250abebe05b3e07eabc2 (diff) | |
download | samba-7d0ebc1976652c8ef8cfc5b0151342f95079d5a2.tar.gz samba-7d0ebc1976652c8ef8cfc5b0151342f95079d5a2.tar.bz2 samba-7d0ebc1976652c8ef8cfc5b0151342f95079d5a2.zip |
Fix a C++ warning
(This used to be commit c274fe7d21badb42ca8d4d1115ae6bffdb19485f)
-rw-r--r-- | source3/nsswitch/winbind_nss_linux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/winbind_nss_linux.c b/source3/nsswitch/winbind_nss_linux.c index b59c0021c2..c11c18759e 100644 --- a/source3/nsswitch/winbind_nss_linux.c +++ b/source3/nsswitch/winbind_nss_linux.c @@ -147,7 +147,7 @@ static bool next_token_alloc(const char **ptr, } /* We started with len = 1 so we have space for the nul. */ - *pp_buff = malloc(len); + *pp_buff = (char *)malloc(len); if (!*pp_buff) { return false; } |