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, CIB_NONE, 2, dump_args);
>               ~~~~~~~~~~        ^~~~~~~~
> info.c:645: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, feat_args);
>               ~~~~~~~~~~        ^~~~~~~~

Applied, thanks.

johannes

Reply via email to