1
0
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:
Darin Adler
2001-07-27 22:47:14 +00:00
parent 25997ca02a
commit 699613b192
3 changed files with 7 additions and 1 deletions

View File

@ -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;