mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
Add cast to fix warning. Add include of <libxml/parser.h>.
* encoding.c: (xmlIconvWrapper): Add cast to fix warning. * testCatalog.c: Add include of <libxml/parser.h>.
This commit is contained in:
@ -1899,7 +1899,7 @@ xmlIconvWrapper(iconv_t cd,
|
||||
char *icv_out = (char *) out;
|
||||
int ret;
|
||||
|
||||
ret = iconv(cd, &icv_in, &icv_inlen, &icv_out, &icv_outlen);
|
||||
ret = iconv(cd, (char **) &icv_in, &icv_inlen, &icv_out, &icv_outlen);
|
||||
if (in != NULL) {
|
||||
*inlen -= icv_inlen;
|
||||
*outlen -= icv_outlen;
|
||||
|
Reference in New Issue
Block a user