diff --git a/juce_amalgamated.cpp b/juce_amalgamated.cpp index 5cc28f5b27..ef90894996 100644 --- a/juce_amalgamated.cpp +++ b/juce_amalgamated.cpp @@ -15070,7 +15070,7 @@ void XmlDocument::readChildElements (XmlElement* parent) ++len; } - textElementContent.append (start.getAddress(), len); + textElementContent.appendCharPointer (start, len); } } diff --git a/src/text/juce_XmlDocument.cpp b/src/text/juce_XmlDocument.cpp index de7dbcfd55..2ef1498bfe 100644 --- a/src/text/juce_XmlDocument.cpp +++ b/src/text/juce_XmlDocument.cpp @@ -604,7 +604,7 @@ void XmlDocument::readChildElements (XmlElement* parent) ++len; } - textElementContent.append (start.getAddress(), len); + textElementContent.appendCharPointer (start, len); } }