From 9d21df8e1bca9ccfa1bcfcde3bc8f35473866166 Mon Sep 17 00:00:00 2001 From: Dylam De La Torre Date: Tue, 16 Nov 2021 20:38:14 +0100 Subject: Fix warnings shown by GCC (#47) * fix all warnings shown by GCC --- components/chatinputindicator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components/chatinputindicator.cpp') diff --git a/components/chatinputindicator.cpp b/components/chatinputindicator.cpp index 8b05c71..acc2aa6 100644 --- a/components/chatinputindicator.cpp +++ b/components/chatinputindicator.cpp @@ -112,7 +112,7 @@ void ChatInputIndicator::ComputeTypingString() { SetTypingString(typers[0].Username + " and " + typers[1].Username + " are typing..."); } else if (typers.size() > 2 && typers.size() <= MaxUsersInIndicator) { Glib::ustring str; - for (int i = 0; i < typers.size() - 1; i++) + for (size_t i = 0; i < typers.size() - 1; i++) str += typers[i].Username + ", "; SetTypingString(str + "and " + typers[typers.size() - 1].Username + " are typing..."); } else { // size() > MaxUsersInIndicator -- cgit v1.2.3