Fixed: Compilation with GCC
This commit is contained in:
parent
cb575fb8f1
commit
fb988fa7e4
1 changed files with 2 additions and 2 deletions
|
@ -284,7 +284,7 @@ void CCDBStructNodeBranch::init( xmlNodePtr node, NLMISC::IProgressCallback &pro
|
||||||
{
|
{
|
||||||
// dealing with an array of entries
|
// dealing with an array of entries
|
||||||
uint countAsInt;
|
uint countAsInt;
|
||||||
NLMISC::fromString(count, countAsInt);
|
NLMISC::fromString(count.str(), countAsInt);
|
||||||
nlassert((const char *) count != NULL);
|
nlassert((const char *) count != NULL);
|
||||||
|
|
||||||
for (uint i=0;i<countAsInt;i++)
|
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
|
// dealing with an array of entries
|
||||||
uint countAsInt;
|
uint countAsInt;
|
||||||
NLMISC::fromString(count, countAsInt);
|
NLMISC::fromString(count.str(), countAsInt);
|
||||||
nlassert((const char *) count != NULL);
|
nlassert((const char *) count != NULL);
|
||||||
|
|
||||||
for (uint i=0;i<countAsInt;i++)
|
for (uint i=0;i<countAsInt;i++)
|
||||||
|
|
Loading…
Reference in a new issue