wds: cast pdp_type enum to int to avoid clang considering the range check tautological
authorFelix Fietkau <nbd@openwrt.org>
Sun, 22 Nov 2015 11:36:28 +0000 (12:36 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 22 Nov 2015 11:37:10 +0000 (12:37 +0100)
commit22a64fe3e9a7b5dcf97d0b240f2ce09919f4b02f
tree9ca02024394a89ceb0ccf4511d68f0e8f99cf93b
parent3a599ba4541b2c428e3467650b9ad0a2364b41e6
wds: cast pdp_type enum to int to avoid clang considering the range check tautological

enum overflow behavior is undefined

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
commands-wds.c