Skip to content

Commit bf3b107

Browse files
committed
Update for Windows
1 parent f88d979 commit bf3b107

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libsrc/utils/RgbTransform.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ int RgbTransform::getBacklightThreshold() const
8787
void RgbTransform::setBacklightThreshold(int backlightThreshold)
8888
{
8989
_backlightThreshold = backlightThreshold;
90-
_sumBrightnessLow = static_cast<uint8_t>(qBound(0, _backlightThreshold, UINT8_MAX));
90+
_sumBrightnessLow = static_cast<uint8_t>(qBound(0, _backlightThreshold, static_cast<int>(UINT8_MAX)));
9191
}
9292

9393
bool RgbTransform::getBacklightColored() const

0 commit comments

Comments
 (0)