Skip to content
Commit 0342deb5 authored by Kumar Gala's avatar Kumar Gala Committed by Carles Cufí
Browse files

Bluetooth: Mesh: Fix compiler warning



When building with an LLVM toolchain get the following warning:

bluetooth/mesh/pb_adv.c:774:4: error: expression which evaluates to zero
treated as a null pointer constant of type
'void *' [-Werror,-Wnon-literal-null-conversion]
                        PROV_BEARER_LINK_STATUS_SUCCESS);
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Fix by adding a cast to (void *).

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