Skip to content

Commit

Permalink
Fix compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jtung-apple committed May 16, 2024
1 parent e4668ca commit 9c6c68f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/darwin/Framework/CHIP/MTRDevice.mm
Original file line number Diff line number Diff line change
Expand Up @@ -980,7 +980,7 @@ - (BOOL)_deviceUsesThread
// Bit 2 Ethernet
uint32_t networkCommissioningClusterFeatureMapValue = static_cast<uint32_t>(networkCommissioningClusterFeatureMapValueNumber.unsignedLongValue);

return (networkCommissioningClusterFeatureMapValue & (1 << 1));
return (networkCommissioningClusterFeatureMapValue & (1 << 1)) ? YES : NO;
}

- (void)_clearSubscriptionPoolWork
Expand Down

0 comments on commit 9c6c68f

Please sign in to comment.