diff --git a/src/ui/viewmodels/TriggerConditionViewModel.cpp b/src/ui/viewmodels/TriggerConditionViewModel.cpp index 4c43f3b8..3e01bffe 100644 --- a/src/ui/viewmodels/TriggerConditionViewModel.cpp +++ b/src/ui/viewmodels/TriggerConditionViewModel.cpp @@ -225,8 +225,8 @@ void TriggerConditionViewModel::SerializeAppendOperand(std::string& sBuffer, Tri case TriggerOperandType::Recall: { std::string recall = "{recall}"; - for ( int i = 0; i < (int)recall.length(); i++) { - sBuffer.push_back(recall[i]); + for (size_t i = 0; i < recall.length(); i++) { + sBuffer.push_back(recall.at(i)); } return; }