1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[iconv] compilation fix

This commit is contained in:
Witold Filipczyk 2021-05-26 08:27:17 +02:00
parent 004a778382
commit 5850fcafbc

View File

@ -1323,7 +1323,7 @@ convert_string(struct conv_table *convert_table,
size_t before, to_copy; size_t before, to_copy;
char *outp, *inp; char *outp, *inp;
if (iconv_cd >= 0) { if (iconv_cd >= (iconv_t)0) {
if (cp != iconv_cp) { if (cp != iconv_cp) {
iconv_close(iconv_cd); iconv_close(iconv_cd);
iconv_cd = (iconv_t)-1; iconv_cd = (iconv_t)-1;