WindowServer: Fix 32 bit compilation with -Werror
There was a always false statement on 32 bit that the compliler was warning about.
This commit is contained in:
parent
2d11ce9669
commit
7223e581a2
|
@ -92,7 +92,7 @@ Config parse_config()
|
|||
else if (variable == "corner-radius"_sv)
|
||||
{
|
||||
char* endptr = nullptr;
|
||||
long corner_radius = strtol(value.data(), &endptr, 0);
|
||||
long long corner_radius = strtoll(value.data(), &endptr, 0);
|
||||
if (corner_radius < 0 || corner_radius == LONG_MAX || corner_radius >= INT32_MAX)
|
||||
dwarnln("invalid corner-radius: '{}'", value);
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue