workspace: silence signed unsigned comparison warning
This commit is contained in:
parent
704d1d639a
commit
5fd9871fa7
1 changed files with 1 additions and 1 deletions
|
@ -601,7 +601,7 @@ std::shared_ptr<OutputMode> parseMode(Output *output, const QJsonObject &modeInf
|
|||
{
|
||||
const QJsonObject size = modeInfo["size"].toObject();
|
||||
const QSize modeSize = QSize(size["width"].toInt(), size["height"].toInt());
|
||||
const int refreshRate = std::round(modeInfo["refresh"].toDouble() * 1000);
|
||||
const uint32_t refreshRate = std::round(modeInfo["refresh"].toDouble() * 1000);
|
||||
|
||||
const auto modes = output->modes();
|
||||
auto it = std::find_if(modes.begin(), modes.end(), [&modeSize, &refreshRate](const auto &mode) {
|
||||
|
|
Loading…
Reference in a new issue