Skip to content
Snippets Groups Projects
Commit e651fae2 authored by Roger Leigh's avatar Roger Leigh
Browse files

xercesc: DOMLSSerializerImpl: Suppress cast alignment warning

git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@1798770 13f79535-47bb-0310-9956-ffa450edef68
parent 7ff4cf9d
No related branches found
No related tags found
No related merge requests found
......@@ -589,7 +589,7 @@ XMLCh* DOMLSSerializerImpl::writeToString(const DOMNode* nodeToWrite, MemoryMana
}
setFeature(BYTE_ORDER_MARK_ID, bBOMFlag);
return (retVal ? XMLString::replicate((XMLCh*) destination.getRawBuffer(), manager) : 0);
return (retVal ? XMLString::replicate(reinterpret_cast<const XMLCh*>(destination.getRawBuffer()), manager) : 0);
}
//
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment