diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llcommon/llsdserialize.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/linden/indra/llcommon/llsdserialize.cpp b/linden/indra/llcommon/llsdserialize.cpp index e2be922..f648c5c 100644 --- a/linden/indra/llcommon/llsdserialize.cpp +++ b/linden/indra/llcommon/llsdserialize.cpp | |||
@@ -1447,9 +1447,12 @@ S32 LLSDBinaryFormatter::format(const LLSD& data, std::ostream& ostr, U32 option | |||
1447 | } | 1447 | } |
1448 | 1448 | ||
1449 | case LLSD::TypeUUID: | 1449 | case LLSD::TypeUUID: |
1450 | { | ||
1450 | ostr.put('u'); | 1451 | ostr.put('u'); |
1451 | ostr.write((const char*)(&(data.asUUID().mData)), UUID_BYTES); | 1452 | U8 *value = data.asUUID().mData; |
1453 | ostr.write((const char*)(&value), UUID_BYTES); | ||
1452 | break; | 1454 | break; |
1455 | } | ||
1453 | 1456 | ||
1454 | case LLSD::TypeString: | 1457 | case LLSD::TypeString: |
1455 | ostr.put('s'); | 1458 | ostr.put('s'); |