1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-19 14:50:07 +03:00

small patch removing a warning with MS compiler. Daniel

* encoding.c: small patch removing a warning with MS compiler.
Daniel
This commit is contained in:
Daniel Veillard 2004-02-21 14:21:50 +00:00
parent 6c662996b6
commit 3288882e8a
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Sat Feb 21 16:22:35 CET 2004 Daniel Veillard <daniel@veillard.com>
* encoding.c: small patch removing a warning with MS compiler.
Sat Feb 21 13:52:30 CET 2004 Daniel Veillard <daniel@veillard.com>
* debugXML.c: added "relaxng" option to the debugging shell

View File

@ -2131,7 +2131,7 @@ xmlByteConsumed(xmlParserCtxtPtr ctxt) {
*/
if (in->end - in->cur > 0) {
static unsigned char convbuf[32000];
unsigned char *cur = in->cur;
unsigned const char *cur = in->cur;
int toconv = in->end - in->cur, written = 32000;
int ret;