XQuartz: applewm: Don't check if requested window level is < 0 because it is unsigned (-Wtautological-compare)
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
This commit is contained in:
parent
c116e32dc2
commit
cb5d4b416a
@ -437,7 +437,7 @@ ProcAppleWMSetWindowLevel(register ClientPtr client)
|
||||
DixReadAccess))
|
||||
return BadValue;
|
||||
|
||||
if (stuff->level < 0 || stuff->level >= AppleWMNumWindowLevels) {
|
||||
if (stuff->level >= AppleWMNumWindowLevels) {
|
||||
return BadValue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user