From 3a616cebb143fae0e4ea51cb89f969ad71018ccb Mon Sep 17 00:00:00 2001 From: Ansariel Date: Sun, 23 Aug 2015 20:04:13 +0200 Subject: [PATCH] Fix some size_t... --- indra/newview/llfloaterpreference.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/indra/newview/llfloaterpreference.cpp b/indra/newview/llfloaterpreference.cpp index 77f238c1d5..84442d9ec3 100644 --- a/indra/newview/llfloaterpreference.cpp +++ b/indra/newview/llfloaterpreference.cpp @@ -3956,7 +3956,7 @@ void FSPanelPreferenceBackup::onClickBackupSettings() // Pull out all data std::vector globalFileList = globalScrollList->getAllData(); // Go over each entry - for (S32 index = 0; index < globalFileList.size(); index++) + for (size_t index = 0; index < globalFileList.size(); ++index) { // Get the next item in the list LLScrollListItem* item = globalFileList[index]; @@ -4000,7 +4000,7 @@ void FSPanelPreferenceBackup::onClickBackupSettings() // Pull out all data std::vector perAccountFileList = perAccountScrollList->getAllData(); // Go over each entry - for (S32 index = 0; index < perAccountFileList.size(); index++) + for (size_t index = 0; index < perAccountFileList.size(); ++index) { // Get the next item in the list LLScrollListItem* item = perAccountFileList[index]; @@ -4024,7 +4024,7 @@ void FSPanelPreferenceBackup::onClickBackupSettings() // Pull out all data std::vector globalFoldersList = globalFoldersScrollList->getAllData(); // Go over each entry - for (S32 index = 0; index < globalFoldersList.size(); index++) + for (size_t index = 0; index < globalFoldersList.size(); ++index) { // Get the next item in the list LLScrollListItem* item = globalFoldersList[index]; @@ -4137,7 +4137,7 @@ void FSPanelPreferenceBackup:: doRestoreSettings(const LLSD& notification, const // Pull out all data std::vector globalFileList = globalScrollList->getAllData(); // Go over each entry - for (S32 index = 0; index < globalFileList.size(); index++) + for (size_t index = 0; index < globalFileList.size(); ++index) { // Get the next item in the list LLScrollListItem* item = globalFileList[index]; @@ -4182,7 +4182,7 @@ void FSPanelPreferenceBackup:: doRestoreSettings(const LLSD& notification, const // Pull out all data std::vector perAccountFileList = perAccountScrollList->getAllData(); // Go over each entry - for (S32 index = 0; index < perAccountFileList.size(); index++) + for (size_t index = 0; index < perAccountFileList.size(); ++index) { // Get the next item in the list LLScrollListItem* item = perAccountFileList[index]; @@ -4224,7 +4224,7 @@ void FSPanelPreferenceBackup:: doRestoreSettings(const LLSD& notification, const // Pull out all data std::vector globalFoldersList = globalFoldersScrollList->getAllData(); // Go over each entry - for (S32 index = 0; index < globalFoldersList.size(); index++) + for (size_t index = 0; index < globalFoldersList.size(); ++index) { // Get the next item in the list LLScrollListItem* item = globalFoldersList[index]; @@ -4308,7 +4308,7 @@ void FSPanelPreferenceBackup::applySelection(LLScrollListCtrl* control, BOOL all // Pull out all data std::vector itemList = control->getAllData(); // Go over each entry - for (S32 index = 0; index < itemList.size(); index++) + for (size_t index = 0; index < itemList.size(); ++index) { // Get the next item in the list LLScrollListItem* item = itemList[index];