Bluetooth: Mesh: Fix string signedness issue
Some compilers (like icx) may complain about unsigned vs signed strings. Fixes #3985 Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
parent
8f168c85f7
commit
3341439f98
|
@ -617,7 +617,8 @@ static int prov_auth(u8_t method, u8_t action, u8_t size)
|
|||
}
|
||||
|
||||
if (output == BT_MESH_DISPLAY_STRING) {
|
||||
u8_t i, str[9];
|
||||
char str[9];
|
||||
u8_t i;
|
||||
|
||||
bt_rand(str, size);
|
||||
|
||||
|
|
Loading…
Reference in a new issue