sched/tcbinfo: Fix warning by discarded qualifiers

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
Huang Qi 2022-02-11 16:19:06 +08:00 committed by Xiang Xiao
parent ce3c604f48
commit cafd3e5c48

View File

@ -782,8 +782,8 @@ begin_packed_struct struct tcbinfo_s
union
{
uint8_t u[8];
FAR uint16_t *p;
uint8_t u[8];
FAR const uint16_t *p;
} reg_off;
} end_packed_struct;
#endif