Skip to content

Commit

Permalink
Silence warning in SM
Browse files Browse the repository at this point in the history
  • Loading branch information
h2zero committed Dec 14, 2024
1 parent d61148d commit 17b7e4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nimble/nimble/host/src/ble_sm_alg.c
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ ble_sm_alg_g2(const uint8_t *u, const uint8_t *v, const uint8_t *x,
ble_sm_alg_log_buf("res", xs, 16);

*passkey = get_be32(xs + 12) % 1000000;
BLE_HS_LOG(DEBUG, " passkey=%u\n", *passkey);
BLE_HS_LOG(DEBUG, " passkey=%" PRIu32"\n", *passkey);

return 0;
}
Expand Down

0 comments on commit 17b7e4d

Please sign in to comment.