api: fix signed single bit field 07/39207/1
authorTianyu Li <[email protected]>
Fri, 7 Jul 2023 06:47:56 +0000 (06:47 +0000)
committerTianyu Li <[email protected]>
Fri, 7 Jul 2023 10:06:15 +0000 (18:06 +0800)
commitbecfab0f178ffd21b79404495806a72e1222257f
treee1ff7e365448c1bcc37710dc7d59b9a5b9692fc8
parentfa6d21b4fff18bfecbf3935dac131f18a24fa3b3
api: fix signed single bit field

clang-16 complains about signed one-bit bitfield value
changes from 1 to -1. Use unsigned type instead.

Type: fix
Signed-off-by: Tianyu Li <[email protected]>
Change-Id: Iab006c036d4068af2fe3caaefc871a95b26cc578
src/vlibapi/api_common.h