mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-03-27 18:50:07 +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:
parent
25997ca02a
commit
699613b192
@ -1,3 +1,8 @@
|
||||
2001-07-27 Darin Adler <darin@bentspoon.com>
|
||||
|
||||
* encoding.c: (xmlIconvWrapper): Add cast to fix warning.
|
||||
* testCatalog.c: Add include of <libxml/parser.h>.
|
||||
|
||||
2001-07-27 Darin Adler <darin@bentspoon.com>
|
||||
|
||||
* include/libxml/.cvsignore:
|
||||
|
@ -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;
|
||||
|
@ -15,6 +15,7 @@
|
||||
#include <libxml/xmlmemory.h>
|
||||
#include <libxml/uri.h>
|
||||
#include <libxml/catalog.h>
|
||||
#include <libxml/parser.h>
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
#ifdef LIBXML_CATALOG_ENABLED
|
||||
|
Loading…
x
Reference in New Issue
Block a user