Index: ext/libicpf/src/cfg_xml.cpp =================================================================== diff -u -N -r0d9a4d94a98872815d5840d1bcc4d394d455307c -r6dae57f5e7aeeb965bc018024d8360069f6e15c1 --- ext/libicpf/src/cfg_xml.cpp (.../cfg_xml.cpp) (revision 0d9a4d94a98872815d5840d1bcc4d394d455307c) +++ ext/libicpf/src/cfg_xml.cpp (.../cfg_xml.cpp) (revision 6dae57f5e7aeeb965bc018024d8360069f6e15c1) @@ -84,7 +84,7 @@ * \param[in] name - name of the tag being processed * \param[in] attrs - array of pointers to strings with attributes and their values */ -void XMLCALL element_start(void *userData, const XML_Char *name, const XML_Char **attrs) +void XMLCALL element_start(void *userData, const tchar_t *name, const tchar_t **attrs) { XMLSTATE* pState=(XMLSTATE*)userData; @@ -230,7 +230,7 @@ xml_node* pNode=(xml_node*)pNodePtr; // parse the name - tchar_t* pSign=_tcschr(pszName, _t('/')); + const tchar_t* pSign=_tcschr(pszName, _t('/')); if (pSign) { // locate the xml_node associated with the name @@ -299,7 +299,7 @@ { xml_node* pNode=(xml_node*)pNodePtr; - tchar_t* pszSign=_tcschr(pszName, _t('/')); + const tchar_t* pszSign=_tcschr(pszName, _t('/')); if (pszSign != NULL) { xml_storage::iterator it=pNode->m_mNodes.find(tstring(pszName, pszSign-pszName)); @@ -347,7 +347,7 @@ xml_node* pNode=(xml_node*)pNodePtr; // parse the name - tchar_t* pSign=_tcschr(pszName, _t('/')); + const tchar_t* pSign=_tcschr(pszName, _t('/')); if (pSign) { // locate the xml_node associated with the name