diff --git a/indra/newview/llcallingcard.cpp b/indra/newview/llcallingcard.cpp
index da8c1a863a041f5ffb36513731cf1f164b22d0d2..e53f345abaf9265bfb4348750839dfcd05238c2b 100644
--- a/indra/newview/llcallingcard.cpp
+++ b/indra/newview/llcallingcard.cpp
@@ -452,7 +452,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);