diff options
author | Jeremy Huddleston Sequoia <jeremyhu@apple.com> | 2015-10-15 22:28:49 -0700 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2015-10-20 09:07:31 +1000 |
commit | ee06f674bbcd796324d6daf69bfb5d8856e94008 (patch) | |
tree | 0f07558b9c2d5200e305e959e19d46b7d5af80d7 /Xi/xiselectev.h | |
parent | 113c0bb4fd764da8c08d8f30abe350c7650c9fc2 (diff) |
Xi: Silence some tautological warnings
xichangehierarchy.c:424:23: warning: comparison of constant 536870911 with expression of type 'uint16_t'
(aka 'unsigned short') is always false [-Wtautological-constant-out-of-range-compare,Semantic Issue]
if (stuff->length > (INT_MAX >> 2))
~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
xichangehierarchy.c:438:26: warning: comparison of constant 536870911 with expression of type 'uint16_t'
(aka 'unsigned short') is always false [-Wtautological-constant-out-of-range-compare,Semantic Issue]
if ((any->length > (INT_MAX >> 2)) || (len < (any->length << 2)))
~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'Xi/xiselectev.h')
0 files changed, 0 insertions, 0 deletions