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:
Johan Hedberg 2017-09-26 11:26:13 +03:00 committed by Johan Hedberg
parent 8f168c85f7
commit 3341439f98

View file

@ -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);