git-svn-id: https://klish.googlecode.com/svn/trunk@403 0eaa4687-2ee9-07dd-09d9-bcdd2d2dd5fb
@@ -36,7 +36,7 @@ const TiXmlString::size_type TiXmlString::npos = static_cast< TiXmlString::size_
// Null rep.
-TiXmlString::Rep TiXmlString::nullrep_ = { 0, 0, '\0' };
+TiXmlString::Rep TiXmlString::nullrep_ = { 0, 0, {'\0'} };
void TiXmlString::reserve (size_type cap)
@@ -354,7 +354,7 @@ const char* TiXmlBase::SkipWhiteSpace( const char* p, TiXmlEncoding encoding )
}
else
{
- while ( *p && IsWhiteSpace( *p ) || *p == '\n' || *p =='\r' )
+ while ( *p && (IsWhiteSpace( *p ) || (*p == '\n') || (*p =='\r')))
++p;