GCC 4.6 fixes

This commit is contained in:
Siana Gearz
2011-05-16 01:37:00 +02:00
parent 3abc778f2c
commit adeba18356
4 changed files with 11 additions and 5 deletions

View File

@@ -605,13 +605,13 @@ BOOL LLParcel::importAccessEntry(std::istream& input_stream, LLAccessEntry* entr
}
else if ("time" == keyword)
{
S32 when;
S32 when = -1;
LLStringUtil::convertToS32(value, when);
entry->mTime = when;
}
else if ("flags" == keyword)
{
U32 setting;
U32 setting = 0xFFFFFFFF;
LLStringUtil::convertToU32(value, setting);
entry->mFlags = setting;
}