Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jepenven-silabs committed Mar 15, 2022
1 parent 2c1875a commit 1200aac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/chip-tool/commands/group/Commands.h
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ class AddKeySet : public CHIPCommand
chip::Credentials::GroupDataProvider::EpochKey epoch_keys;
epoch_keys.start_time = static_cast<uint64_t>(std::stoi(str.substr(0, 16).c_str(), 0, 16));

for (uint8_t i = 16; i < ((epochKeySize * 2)); i += 2)
for (uint32_t i = 16; i < ((epochKeySize * 2)); i += 2)
{
epoch_keys.key[(i - 16) / 2] = static_cast<uint8_t>(std::stoi(str.substr(i, 2).c_str(), 0, 16));
}
Expand Down
3 changes: 1 addition & 2 deletions src/lib/support/TestGroupData.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ CHIP_ERROR InitProvider()

CHIP_ERROR InitProvider(chip::PersistentStorageDelegate & storageDelegate)
{
new (&sGroupsProvider) chip::Credentials::GroupDataProviderImpl(storageDelegate, kMaxGroupsPerFabric, kMaxGroupKeysPerFabric);

sGroupsProvider.SetStorageDelegate(&storageDelegate);
ReturnErrorOnFailure(sGroupsProvider.Init());
chip::Credentials::SetGroupDataProvider(&sGroupsProvider);
return CHIP_NO_ERROR;
Expand Down

0 comments on commit 1200aac

Please sign in to comment.