summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRye Mutt <rye@alchemyviewer.org>2024-07-27 11:15:09 -0400
committerGitHub <noreply@github.com>2024-07-27 18:15:09 +0300
commit817bc25b2732dc23295e6a7ac0da5ad142e33434 (patch)
treee4d67a9600ea170c11d04c9030af5d41edae3f51
parentc98498e6ea04570a6234c13c543105df69b58f46 (diff)
Fix warning for Type mismatch in LLMsgVarData::addData for SpaceIP (#2125)
-rw-r--r--indra/newview/llcallingcard.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llcallingcard.cpp b/indra/newview/llcallingcard.cpp
index 214b5f5cde..8e9ab8f87f 100644
--- a/indra/newview/llcallingcard.cpp
+++ b/indra/newview/llcallingcard.cpp
@@ -451,7 +451,7 @@ void LLAvatarTracker::findAgent()
msg->nextBlockFast(_PREHASH_AgentBlock);
msg->addUUIDFast(_PREHASH_Hunter, gAgentID);
msg->addUUIDFast(_PREHASH_Prey, mTrackingData->mAvatarID);
- msg->addU32Fast(_PREHASH_SpaceIP, 0); // will get filled in by simulator
+ msg->addIPAddrFast(_PREHASH_SpaceIP, 0); // will get filled in by simulator
msg->nextBlockFast(_PREHASH_LocationBlock);
const F64 NO_LOCATION = 0.0;
msg->addF64Fast(_PREHASH_GlobalX, NO_LOCATION);