diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp index 561c644955..0ddcb8c14d 100644 --- a/indra/newview/llagent.cpp +++ b/indra/newview/llagent.cpp @@ -3502,7 +3502,7 @@ void LLAgent::sendRevokePermissions(const LLUUID & target, U32 permissions) msg->nextBlockFast(_PREHASH_Data); msg->addUUIDFast(_PREHASH_ObjectID, target); // Must be in the region - msg->addS32Fast(_PREHASH_ObjectPermissions, (S32) permissions); + msg->addU32Fast(_PREHASH_ObjectPermissions, (U32) permissions); sendReliableMessage(); }