quiet down some build warnings with Qt under OSX clang++

This commit is contained in:
nhmall
2020-07-17 18:37:07 -04:00
parent 84b598e489
commit f6b4306ce6
16 changed files with 55 additions and 50 deletions

View File

@@ -35,7 +35,7 @@ QString str_titlecase(const QString& str)
QString nh_capitalize_words(const QString& str)
{
QStringList words = str.split(" ");
for (size_t i = 0; i < words.size(); ++i) {
for (size_t i = 0; i < (size_t) words.size(); ++i) {
words[i] = str_titlecase(words[i]);
}
return words.join(" ");