summaryrefslogtreecommitdiff
path: root/src/gui/widgets/namesmodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/namesmodel.cpp')
-rw-r--r--src/gui/widgets/namesmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/namesmodel.cpp b/src/gui/widgets/namesmodel.cpp
index 299eed355..186976d13 100644
--- a/src/gui/widgets/namesmodel.cpp
+++ b/src/gui/widgets/namesmodel.cpp
@@ -52,6 +52,6 @@ std::string NamesModel::getElementAt(int i)
void NamesModel::fillFromArray(const char *const *const arr, std::size_t sz)
{
- for (int f = 0; f < sz; f ++)
+ for (size_t f = 0; f < sz; f ++)
mNames.push_back(gettext(arr[f]));
}