Fix -Wsign-compare warnings

This commit is contained in:
Léo Lam
2020-11-21 01:05:01 +01:00
parent 4b7f784d1b
commit 82f1e6204d
4 changed files with 8 additions and 5 deletions

View File

@ -6,7 +6,7 @@
#include "Common/StringUtil.h"
UTF8CodePointCountValidator::UTF8CodePointCountValidator(int max_count, QObject* parent)
UTF8CodePointCountValidator::UTF8CodePointCountValidator(std::size_t max_count, QObject* parent)
: QValidator(parent), m_max_count(max_count)
{
}