mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-13 19:52:20 +00:00
OpenBSD still uses GNU iconv, so the second argument to iconv(3) is not const.
This commit is contained in:
parent
232a93319b
commit
b578dca486
2 changed files with 2 additions and 2 deletions
|
@ -1618,7 +1618,7 @@ char *from_cs, char *to_cs)
|
|||
DtMailEnv error;
|
||||
iconv_t cd;
|
||||
size_t ileft = (size_t) bp_len, oleft = (size_t) bp_len, ret = 0;
|
||||
#if defined(_AIX) || defined(sun) | defined(CSRG_BASED)
|
||||
#if defined(_AIX) || defined(sun) || defined(__FreeBSD__)
|
||||
const char *ip = (const char *) *bp;
|
||||
#else
|
||||
char *ip = *bp;
|
||||
|
|
|
@ -1030,7 +1030,7 @@ char *from_cs, char *to_cs)
|
|||
DtMailEnv error;
|
||||
iconv_t cd;
|
||||
size_t ileft = (size_t) bp_len, oleft = (size_t) bp_len, ret = 0;
|
||||
#if defined(_aix) || defined(sun) || defined(CSRG_BASED)
|
||||
#if defined(_aix) || defined(sun) || defined(__FreeBSD__)
|
||||
const char *ip = (const char *) *bp;
|
||||
#else
|
||||
char *ip = *bp;
|
||||
|
|
Loading…
Reference in a new issue