Skip to content

Commit

Permalink
Update src/lib/core/TLVReader.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Karsten Sperling <[email protected]>
  • Loading branch information
emargolis and ksperling-apple authored Jan 23, 2023
1 parent 2d2d8e8 commit eba4841
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/core/TLVReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ CHIP_ERROR TLVReader::Get(Optional<LocalizedStringIdentifier> & lsid)

uint32_t len = GetLength();

const uint8_t * infoSeparator1 = reinterpret_cast<const uint8_t *>(memchr(bytes, kUnicodeInformationSeparator1, len));
const uint8_t * infoSeparator1 = static_cast<const uint8_t *>(memchr(bytes, kUnicodeInformationSeparator1, len));
if (infoSeparator1 == nullptr)
{
return CHIP_NO_ERROR;
Expand Down

0 comments on commit eba4841

Please sign in to comment.