mirror of
https://github.com/samba-team/samba.git
synced 2025-01-29 21:47:30 +03:00
iconv isn't const safe. Neither should smb_iconv be.
Jeremy.
This commit is contained in:
parent
7d7096fc3a
commit
238bb74c16
@ -136,7 +136,7 @@ static size_t sys_iconv(void *cd,
|
||||
* enough that Samba works on systems that don't have iconv.
|
||||
**/
|
||||
size_t smb_iconv(smb_iconv_t cd,
|
||||
const char **inbuf, size_t *inbytesleft,
|
||||
char **inbuf, size_t *inbytesleft,
|
||||
char **outbuf, size_t *outbytesleft)
|
||||
{
|
||||
char cvtbuf[2048];
|
||||
|
Loading…
x
Reference in New Issue
Block a user