Skip to content

Commit

Permalink
Fix compile error in java-matter-controller
Browse files Browse the repository at this point in the history
  • Loading branch information
yufengwangca committed Jan 12, 2023
1 parent 8b14201 commit 9e6211b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/controller/java/AndroidDeviceControllerWrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ AndroidDeviceControllerWrapper::~AndroidDeviceControllerWrapper()
mKeypairBridge = nullptr;
}
#endif // JAVA_MATTER_CONTROLLER_TEST

if (mDeviceAttestationDelegateBridge != nullptr)
{
delete mDeviceAttestationDelegateBridge;
Expand Down
2 changes: 1 addition & 1 deletion src/controller/java/DeviceAttestationDelegateBridge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ void DeviceAttestationDelegateBridge::OnDeviceAttestationCompleted(
const chip::Credentials::DeviceAttestationVerifier::AttestationDeviceInfo & info,
chip::Credentials::AttestationVerificationResult attestationResult)
{
ChipLogProgress(Controller, "OnDeviceAttestationCompleted with result: %hu", attestationResult);
ChipLogProgress(Controller, "OnDeviceAttestationCompleted with result: %hu", static_cast<uint16_t>(attestationResult));

mResult = attestationResult;
if (mDeviceAttestationDelegate != nullptr)
Expand Down

0 comments on commit 9e6211b

Please sign in to comment.