aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llgroupmgr.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:50 -0500
committerJacek Antonelli2008-08-15 23:44:50 -0500
commit89fe5dab825a62a0e3fd8d248cbc91c65eb2a426 (patch)
treebcff14b7888d04a2fec799c59369f6095224bd08 /linden/indra/newview/llgroupmgr.cpp
parentSecond Life viewer sources 1.13.3.2 (diff)
downloadmeta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.zip
meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.gz
meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.bz2
meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.xz
Second Life viewer sources 1.14.0.0
Diffstat (limited to 'linden/indra/newview/llgroupmgr.cpp')
-rw-r--r--linden/indra/newview/llgroupmgr.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/linden/indra/newview/llgroupmgr.cpp b/linden/indra/newview/llgroupmgr.cpp
index 35e1b95..d020236 100644
--- a/linden/indra/newview/llgroupmgr.cpp
+++ b/linden/indra/newview/llgroupmgr.cpp
@@ -820,8 +820,8 @@ void LLGroupMgr::processGroupMembersReply(LLMessageSystem* msg, void** data)
820 if (group_datap->mMemberCount > 0) 820 if (group_datap->mMemberCount > 0)
821 { 821 {
822 S32 contribution = 0; 822 S32 contribution = 0;
823 char online_status[DB_DATETIME_BUF_SIZE]; 823 char online_status[DB_DATETIME_BUF_SIZE]; /* Flawfinder: ignore */
824 char title[DB_GROUP_TITLE_BUF_SIZE]; 824 char title[DB_GROUP_TITLE_BUF_SIZE]; /* Flawfinder: ignore */
825 U64 agent_powers = 0; 825 U64 agent_powers = 0;
826 BOOL is_owner = FALSE; 826 BOOL is_owner = FALSE;
827 827
@@ -862,7 +862,7 @@ void LLGroupMgr::processGroupMembersReply(LLMessageSystem* msg, void** data)
862 } 862 }
863 } 863 }
864 864
865 if (group_datap->mMembers.size() == group_datap->mMemberCount) 865 if (group_datap->mMembers.size() == (U32)group_datap->mMemberCount)
866 { 866 {
867 group_datap->mMemberDataComplete = TRUE; 867 group_datap->mMemberDataComplete = TRUE;
868 group_datap->mMemberRequestID.setNull(); 868 group_datap->mMemberRequestID.setNull();
@@ -892,13 +892,13 @@ void LLGroupMgr::processGroupPropertiesReply(LLMessageSystem* msg, void** data)
892 } 892 }
893 893
894 LLUUID group_id; 894 LLUUID group_id;
895 char name[DB_GROUP_NAME_BUF_SIZE]; 895 char name[DB_GROUP_NAME_BUF_SIZE]; /* Flawfinder: ignore */
896 char charter[DB_GROUP_CHARTER_BUF_SIZE]; 896 char charter[DB_GROUP_CHARTER_BUF_SIZE]; /* Flawfinder: ignore */
897 BOOL show_in_list = FALSE; 897 BOOL show_in_list = FALSE;
898 LLUUID founder_id; 898 LLUUID founder_id;
899 U64 powers_mask = GP_NO_POWERS; 899 U64 powers_mask = GP_NO_POWERS;
900 S32 money = 0; 900 S32 money = 0;
901 char member_title[DB_GROUP_TITLE_BUF_SIZE]; 901 char member_title[DB_GROUP_TITLE_BUF_SIZE]; /* Flawfinder: ignore */
902 LLUUID insignia_id; 902 LLUUID insignia_id;
903 LLUUID owner_role; 903 LLUUID owner_role;
904 U32 membership_fee = 0; 904 U32 membership_fee = 0;
@@ -974,9 +974,9 @@ void LLGroupMgr::processGroupRoleDataReply(LLMessageSystem* msg, void** data)
974 974
975 msg->getS32(_PREHASH_GroupData, "RoleCount", group_data->mRoleCount ); 975 msg->getS32(_PREHASH_GroupData, "RoleCount", group_data->mRoleCount );
976 976
977 char name[DB_GROUP_NAME_BUF_SIZE]; 977 char name[DB_GROUP_NAME_BUF_SIZE]; /* Flawfinder: ignore */
978 char title[DB_GROUP_TITLE_BUF_SIZE]; 978 char title[DB_GROUP_TITLE_BUF_SIZE]; /* Flawfinder: ignore */
979 char desc[DB_GROUP_CHARTER_BUF_SIZE]; 979 char desc[DB_GROUP_CHARTER_BUF_SIZE]; /* Flawfinder: ignore */
980 U64 powers = 0; 980 U64 powers = 0;
981 U32 member_count = 0; 981 U32 member_count = 0;
982 LLUUID role_id; 982 LLUUID role_id;
@@ -998,7 +998,7 @@ void LLGroupMgr::processGroupRoleDataReply(LLMessageSystem* msg, void** data)
998 group_data->mRoles[role_id] = rd; 998 group_data->mRoles[role_id] = rd;
999 } 999 }
1000 1000
1001 if (group_data->mRoles.size() == group_data->mRoleCount) 1001 if (group_data->mRoles.size() == (U32)group_data->mRoleCount)
1002 { 1002 {
1003 group_data->mRoleDataComplete = TRUE; 1003 group_data->mRoleDataComplete = TRUE;
1004 group_data->mRoleDataRequestID.setNull(); 1004 group_data->mRoleDataRequestID.setNull();
@@ -1152,7 +1152,7 @@ void LLGroupMgr::processGroupTitlesReply(LLMessageSystem* msg, void** data)
1152 return; 1152 return;
1153 } 1153 }
1154 1154
1155 char title_buf[DB_GROUP_TITLE_BUF_SIZE]; 1155 char title_buf[DB_GROUP_TITLE_BUF_SIZE]; /* Flawfinder: ignore */
1156 1156
1157 LLGroupTitle title; 1157 LLGroupTitle title;
1158 1158
@@ -1241,7 +1241,7 @@ void LLGroupMgr::processCreateGroupReply(LLMessageSystem* msg, void ** data)
1241{ 1241{
1242 LLUUID group_id; 1242 LLUUID group_id;
1243 BOOL success; 1243 BOOL success;
1244 char message[MAX_STRING]; 1244 char message[MAX_STRING]; /* Flawfinder: ignore */
1245 1245
1246 msg->getUUIDFast(_PREHASH_ReplyData, _PREHASH_GroupID, group_id ); 1246 msg->getUUIDFast(_PREHASH_ReplyData, _PREHASH_GroupID, group_id );
1247 1247