radiotap: Avoid ubsan warning on 1<<31
authorJouni Malinen <j@w1.fi>
Tue, 7 Jul 2015 12:39:08 +0000 (15:39 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 7 Jul 2015 13:25:06 +0000 (16:25 +0300)
commit0f5fb8a46751a1b4171314992b908864fedcc776
treec617dde09a53709fbb2bc38bc97ad4346f648495
parentfc880b11ed70ff9dcf8be48621f75d354cc5094d
radiotap: Avoid ubsan warning on 1<<31

Use the BIT() macro and unsigned int to avoid ubsan warning on 1<<31 not
fitting in an int.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/utils/radiotap.c