diff options
author | Dylam De La Torre <DyXel04@gmail.com> | 2021-11-16 20:38:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-16 19:38:14 +0000 |
commit | 9d21df8e1bca9ccfa1bcfcde3bc8f35473866166 (patch) | |
tree | 5d2ea9d83bd779f325c1c48728fc9ac5832cdc5e /components/chatinputindicator.cpp | |
parent | 108002248c0739078302e00d5ca224a44b93ea56 (diff) | |
download | abaddon-portaudio-9d21df8e1bca9ccfa1bcfcde3bc8f35473866166.tar.gz abaddon-portaudio-9d21df8e1bca9ccfa1bcfcde3bc8f35473866166.zip |
Fix warnings shown by GCC (#47)
* fix all warnings shown by GCC
Diffstat (limited to 'components/chatinputindicator.cpp')
-rw-r--r-- | components/chatinputindicator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |