Skip to content

Commit

Permalink
[ESP32] Fix the compilation error in nimble/blemanager (#35815)
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhamdp committed Sep 27, 2024
1 parent c3ac26e commit 2675445
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/ESP32/nimble/BLEManagerImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1563,7 +1563,7 @@ void BLEManagerImpl::HandleC3CharRead(struct ble_gatt_char_context * param)
additionalDataFields);
SuccessOrExit(err);

os_mbuf_append(param->ctxt->om, bufferHandle->Start(), bufferHandle->DataLength());
os_mbuf_append(param->ctxt->om, bufferHandle->Start(), static_cast<uint16_t>(bufferHandle->DataLength()));

exit:
if (err != CHIP_NO_ERROR)
Expand Down

0 comments on commit 2675445

Please sign in to comment.