mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-02 04:39:01 +00:00
Fix Error: src/wapi.c:1050:14: error: implicit conversion from enumeration type 'enum wapi_mode_e' to different enumeration type 'enum wapi_pta_prio_e' [-Werror,-Wenum-conversion]
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
dd5dbde620
commit
bf03439d1b
1 changed files with 2 additions and 1 deletions
|
|
@ -1047,7 +1047,8 @@ static int wapi_pta_prio_cmd(int sock, int argc, FAR char **argv)
|
|||
|
||||
/* Convert input strings to values */
|
||||
|
||||
pta_prio = (enum wapi_mode_e)wapi_str2ndx(argv[1], g_wapi_pta_prio_flags);
|
||||
pta_prio = (enum wapi_pta_prio_e)
|
||||
wapi_str2ndx(argv[1], g_wapi_pta_prio_flags);
|
||||
|
||||
/* Set operating mode */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue