From 3bddd238db2b7f9dfe484c9397f9d5ebe35ab98c Mon Sep 17 00:00:00 2001 From: James Clark Date: Sun, 31 May 1998 10:14:02 +0000 Subject: [PATCH] Fix bug with XML_UNICODE support and duplicate attributes. --- expat/xmlparse/xmlparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/expat/xmlparse/xmlparse.c b/expat/xmlparse/xmlparse.c index 66ab5637..bc8bc315 100755 --- a/expat/xmlparse/xmlparse.c +++ b/expat/xmlparse/xmlparse.c @@ -1142,7 +1142,7 @@ static enum XML_Error storeAtts(XML_Parser parser, const ENCODING *enc, appAtts[i << 1] = 0; } while (i-- > 0) - ((char *)appAtts[i << 1])[-1] = 0; + ((XML_Char *)appAtts[i << 1])[-1] = 0; return XML_ERROR_NONE; } -- 2.40.0