mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 16:32:59 +00:00
Add a cast to UNICODE_CHAR*.
This commit is contained in:
parent
bd0caf91ab
commit
d7c2810dca
@ -34,7 +34,7 @@
|
||||
* -- Removed a number of castings of XML_Char to DOM_CHAR since they
|
||||
* were not working on Windows properly
|
||||
*
|
||||
* $Id: XMLParser.cpp,v 1.4 2000/04/20 10:09:42 kvisco%ziplink.net Exp $
|
||||
* $Id: XMLParser.cpp,v 1.5 2000/05/02 21:57:19 Peter.VanderBeken%pandora.be Exp $
|
||||
*/
|
||||
|
||||
#include "XMLParser.h"
|
||||
@ -164,7 +164,7 @@ void charData(void* userData, const XML_Char* s, int len)
|
||||
{
|
||||
ParserState* ps = (ParserState*)userData;
|
||||
DOMString data;
|
||||
data.append(s, len);
|
||||
data.append((UNICODE_CHAR*)s, len);
|
||||
ps->currentNode->appendChild(ps->document->createTextNode(data));
|
||||
} //-- charData
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user