Index: src/libchcore/ConfigNodeContainer.h =================================================================== diff -u -N -rb1e03eb232a784d6e2d40f67cbbbb33be0972228 -r2fe97a93f21771d75901d4b6559057d1ea055104 --- src/libchcore/ConfigNodeContainer.h (.../ConfigNodeContainer.h) (revision b1e03eb232a784d6e2d40f67cbbbb33be0972228) +++ src/libchcore/ConfigNodeContainer.h (.../ConfigNodeContainer.h) (revision 2fe97a93f21771d75901d4b6559057d1ea055104) @@ -88,7 +88,7 @@ ConfigNodeContainer::NodeContainer::const_iterator iterFnd = m_mic.find(boost::make_tuple(pszPropName, 0)); if(iterFnd != m_mic.end()) - tResult = boost::lexical_cast((PCTSTR)(*iterFnd).m_strValue.Get()); + tResult = boost::lexical_cast((*iterFnd).m_strValue.Get().c_str()); return tResult; } @@ -120,7 +120,7 @@ else if((*iterFnd).m_strValue.Get().CompareNoCase(_T("true")) == 0) bResult = true; else - bResult = boost::lexical_cast((PCTSTR)(*iterFnd).m_strValue.Get()); + bResult = boost::lexical_cast((*iterFnd).m_strValue.Get().c_str()); } return bResult; @@ -133,7 +133,7 @@ ConfigNodeContainer::NodeContainer::const_iterator iterFnd = m_mic.find(boost::make_tuple(pszPropName, 0)); if(iterFnd != m_mic.end()) { - rValue = boost::lexical_cast((PCTSTR)(*iterFnd).m_strValue.Get()); + rValue = boost::lexical_cast((*iterFnd).m_strValue.Get().c_str()); return true; } @@ -167,7 +167,7 @@ else if(strValue.CompareNoCase(_T("true")) == 0) rValue = true; else - rValue = boost::lexical_cast((PCTSTR)strValue); + rValue = boost::lexical_cast(strValue.c_str()); return true; }