diff options
| author | Xi Wang <xi.wang@gmail.com> | 2012-06-17 14:45:05 -0400 |
|---|---|---|
| committer | Christopher Li <sparse@chrisli.org> | 2013-02-28 01:15:37 -0800 |
| commit | afa3245c069c532f3a88bf0053113c54480a1c1d (patch) | |
| tree | 36f21a84b175f40d827ff3fa4ba2c209bf76ae97 /Makefile | |
| parent | 30cb3a104d4fb8b70409e8f1e8a0a08363236f58 (diff) | |
| download | sparse-dev-afa3245c069c532f3a88bf0053113c54480a1c1d.tar.gz | |
fix casting constant to _Bool
Casting to _Bool requires a zero test rather than truncation. Also add
a new cast warning for _Bool since this is not about truncation.
Cc: Pekka Enberg <penberg@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Xi Wang <xi.wang@gmail.com>
Signed-off-by: Christopher Li <sparse@chrisli.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions
