GCC 4.6.1 fix

This commit is contained in:
Siana Gearz
2011-10-19 05:33:09 +02:00
parent 142427b3e1
commit ef54491760

View File

@@ -1454,9 +1454,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 value = data.asUUID();
ostr.write((const char*)(&value.mData), UUID_BYTES);
break;
}
case LLSD::TypeString:
ostr.put('s');
@@ -2173,4 +2176,4 @@ bool unzip_llsd(LLSD& data, std::istream& is, S32 size)
free(result);
return true;
}
#endif //MESH_ENABLED
#endif //MESH_ENABLED