Skip to content
Commit 06864763 authored by Kumar Gala's avatar Kumar Gala Committed by Anas Nashif
Browse files

bluetooth: Fix compiler warning with arm-clang



Since we enable -fshort-enums for arm-clang we get the following
warning:

subsys/bluetooth/mesh/pb_adv.c:139:40: warning: cast to smaller
integer type 'enum prov_bearer_link_status' from
 'void *' [-Wvoid-pointer-to-enum-cast]

Fix this by first casting to an int to grow the size of the type.

Signed-off-by: default avatarKumar Gala <kumar.gala@intel.com>
parent 06d4a8be
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment