Fixed: Compilation with GCC

This commit is contained in:
kervala 2015-03-02 23:51:23 +01:00
parent a9f2459f35
commit 4a1e0b58e5

View file

@ -284,7 +284,7 @@ void CCDBStructNodeBranch::init( xmlNodePtr node, NLMISC::IProgressCallback &pro
{
// dealing with an array of entries
uint countAsInt;
NLMISC::fromString(count, countAsInt);
NLMISC::fromString(count.str(), countAsInt);
nlassert((const char *) count != NULL);
for (uint i=0;i<countAsInt;i++)
@ -347,7 +347,7 @@ void CCDBStructNodeBranch::init( xmlNodePtr node, NLMISC::IProgressCallback &pro
{
// dealing with an array of entries
uint countAsInt;
NLMISC::fromString(count, countAsInt);
NLMISC::fromString(count.str(), countAsInt);
nlassert((const char *) count != NULL);
for (uint i=0;i<countAsInt;i++)