diff options
author | Lioncash <mathew1800@gmail.com> | 2019-05-25 03:00:26 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-05-25 03:27:12 +0200 |
commit | b3d7180164157c64b48ed5ae549d1d02ef92e092 (patch) | |
tree | 4b8c97f547a277f03047cc6cd8024f12735aa346 | |
parent | yuzu/applets/software_keyboard: Specify string conversions explicitly (diff) | |
download | yuzu-b3d7180164157c64b48ed5ae549d1d02ef92e092.tar yuzu-b3d7180164157c64b48ed5ae549d1d02ef92e092.tar.gz yuzu-b3d7180164157c64b48ed5ae549d1d02ef92e092.tar.bz2 yuzu-b3d7180164157c64b48ed5ae549d1d02ef92e092.tar.lz yuzu-b3d7180164157c64b48ed5ae549d1d02ef92e092.tar.xz yuzu-b3d7180164157c64b48ed5ae549d1d02ef92e092.tar.zst yuzu-b3d7180164157c64b48ed5ae549d1d02ef92e092.zip |
-rw-r--r-- | src/yuzu/applets/software_keyboard.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/applets/software_keyboard.cpp b/src/yuzu/applets/software_keyboard.cpp index 4f13e1d75..7c95d730b 100644 --- a/src/yuzu/applets/software_keyboard.cpp +++ b/src/yuzu/applets/software_keyboard.cpp @@ -18,7 +18,7 @@ QtSoftwareKeyboardValidator::QtSoftwareKeyboardValidator( : parameters(std::move(parameters)) {} QValidator::State QtSoftwareKeyboardValidator::validate(QString& input, int& pos) const { - if (input.size() > parameters.max_length) { + if (input.size() > static_cast<s64>(parameters.max_length)) { return Invalid; } if (parameters.disable_space && input.contains(QLatin1Char{' '})) { |