diff --git a/src/controller/java/DeviceAttestationDelegateBridge.cpp b/src/controller/java/DeviceAttestationDelegateBridge.cpp index 89bd2eebc41f39..be46a783b197ad 100644 --- a/src/controller/java/DeviceAttestationDelegateBridge.cpp +++ b/src/controller/java/DeviceAttestationDelegateBridge.cpp @@ -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(attestationResult)); mResult = attestationResult; if (mDeviceAttestationDelegate != nullptr)