[PATCH iw] iw: fix enum warnings

2018-10-08 Thread Brian Norris
clang warns about the misuse of enums: reg.c:246:26: warning: implicit conversion from enumeration type 'enum command_identify_by' to different enumeration type 'enum id_input' [-Wenum-conversion] err = handle_cmd(state, CIB_NONE, 2, dump_args); ~~^~~~ i

Re: [PATCH iw] iw: fix enum warnings

2018-10-09 Thread Johannes Berg
On Mon, 2018-10-08 at 10:51 -0700, Brian Norris wrote: > clang warns about the misuse of enums: > > reg.c:246:26: warning: implicit conversion from enumeration type 'enum > command_identify_by' to different enumeration type 'enum id_input' > [-Wenum-conversion] > err = handle_cmd(state,