summaryrefslogtreecommitdiffstats
path: root/src/dom/lsimpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dom/lsimpl.cpp')
-rw-r--r--src/dom/lsimpl.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dom/lsimpl.cpp b/src/dom/lsimpl.cpp
index 636dc6750..65807cc45 100644
--- a/src/dom/lsimpl.cpp
+++ b/src/dom/lsimpl.cpp
@@ -76,7 +76,7 @@ Document *LSParserImpl::parse(const LSInput &input)
int ch = lsreader->get();
if (ch < 0)
break;
- buf.push_back(ch);
+ buf.push_back((XMLCh)ch);
}
XmlReader reader;
Document *doc = reader.parse(buf);
@@ -92,7 +92,7 @@ Document *LSParserImpl::parse(const LSInput &input)
int ch = inputStream->get();
if (ch < 0)
break;
- buf.push_back(ch);
+ buf.push_back((XMLCh)ch);
}
XmlReader reader;
Document *doc = reader.parse(buf);
@@ -176,7 +176,7 @@ bool LSSerializerImpl::write(
{
outbuf = "";
indent = 0;
-
+
writeNode(nodeArg);
//## Check in order specified in the L&S specs