summaryrefslogtreecommitdiff
path: root/indra/llmessage/lltemplatemessagebuilder.cpp
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2020-02-03 15:43:07 +0200
committerAndrey Lihatskiy <alihatskiy@productengine.com>2020-02-03 15:43:07 +0200
commit179f7198904ad9066029e79101068206159e7b55 (patch)
tree41051b852bcfd8758f2deba7034c9eebfb1f33c3 /indra/llmessage/lltemplatemessagebuilder.cpp
parent748d25d1269751dc505a9ad93453d40b8dcea77f (diff)
parentd656d49a77eeb65ae537c954ea4009bc22da7b2b (diff)
Merge branch 'master' into DRTVWR-482
Diffstat (limited to 'indra/llmessage/lltemplatemessagebuilder.cpp')
-rw-r--r--indra/llmessage/lltemplatemessagebuilder.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/llmessage/lltemplatemessagebuilder.cpp b/indra/llmessage/lltemplatemessagebuilder.cpp
index 8d7c4c0282..5ac5f6c580 100644
--- a/indra/llmessage/lltemplatemessagebuilder.cpp
+++ b/indra/llmessage/lltemplatemessagebuilder.cpp
@@ -689,14 +689,14 @@ static S32 buildBlock(U8* buffer, S32 buffer_size, const LLMessageBlock* templat
{
case 1:
sizeb = size;
- htonmemcpy(&buffer[result], &sizeb, MVT_U8, 1);
+ htolememcpy(&buffer[result], &sizeb, MVT_U8, 1);
break;
case 2:
sizeh = size;
- htonmemcpy(&buffer[result], &sizeh, MVT_U16, 2);
+ htolememcpy(&buffer[result], &sizeh, MVT_U16, 2);
break;
case 4:
- htonmemcpy(&buffer[result], &size, MVT_S32, 4);
+ htolememcpy(&buffer[result], &size, MVT_S32, 4);
break;
default:
LL_ERRS() << "Attempting to build variable field with unknown size of " << size << LL_ENDL;