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

@@ -1447,9 +1447,12 @@ S32 LLSDBinaryFormatter::format(const LLSD& data, std::ostream& ostr, U32 option
}
case LLSD::TypeUUID:
{
ostr.put('u');
ostr.write((const char*)(&(data.asUUID().mData)), UUID_BYTES);
LLUUID d = data.asUUID();
ostr.write((const char*)(&(d.mData)), UUID_BYTES);
break;
}
case LLSD::TypeString:
ostr.put('s');