Fixed build error of Mesh stack for 64-bit machine

This commit is contained in:
Mehul Hirpara
2018-11-14 17:39:04 +01:00
committed by Łukasz Rymanowski
parent 4b5c5ef468
commit ba6ce7dfdd
+1 -1
View File
@@ -97,7 +97,7 @@ void bt_test_print_credentials(void)
struct bt_mesh_subnet *sub;
struct bt_mesh_app_key *app_key;
console_printf("IV Index: %08lx\n", bt_mesh.iv_index);
console_printf("IV Index: %08lx\n", (long) bt_mesh.iv_index);
console_printf("Dev key: %s\n", bt_hex(bt_mesh.dev_key, 16));
for (i = 0; i < MYNEWT_VAL(BLE_MESH_SUBNET_COUNT); ++i)