From 0333ca86c4987c661a11285c4fc30af9ce04fa04 Mon Sep 17 00:00:00 2001 From: James Clark Date: Wed, 2 Jun 1999 11:20:06 +0000 Subject: [PATCH] Fix Apache warnings --- expat/xmltok/xmltok_ns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/expat/xmltok/xmltok_ns.c b/expat/xmltok/xmltok_ns.c index f2541616..40bf965f 100755 --- a/expat/xmltok/xmltok_ns.c +++ b/expat/xmltok/xmltok_ns.c @@ -45,7 +45,7 @@ int NS(XmlInitEncoding)(INIT_ENCODING *p, const ENCODING **encPtr, const char *n int i = getEncodingIndex(name); if (i == UNKNOWN_ENC) return 0; - INIT_ENC_INDEX(p) = (char)i; + SET_INIT_ENC_INDEX(p, i); p->initEnc.scanners[XML_PROLOG_STATE] = NS(initScanProlog); p->initEnc.scanners[XML_CONTENT_STATE] = NS(initScanContent); p->initEnc.updatePosition = initUpdatePosition; -- 2.40.0