signed: don't warn about u64 comparisons with ULONG_MAX
commit256d8d5e184ddbb11a5381ecbf5d947c54e24e54
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 23 Oct 2020 11:02:05 +0000 (23 14:02 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Fri, 23 Oct 2020 11:02:05 +0000 (23 14:02 +0300)
treebc768251ae1dd3aec0ffe044462f7f4a4bb59aec
parent78f16f934d4f4ed0ddb35955d43e67c8877c3847
signed: don't warn about u64 comparisons with ULONG_MAX

It's pretty common to have "if (my_u64 > ULONG_MAX)".  This is impossible
on 64 bit systems but it's possible on 32 bit systems so it should not
generate and "impossible condition" warning.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
check_signed.c