Skip to content

Commit 39275f3

Browse files
committed
Fix CI test
1 parent 2949013 commit 39275f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/all-clusters-app/all-clusters-common/src/WhmManufacturer.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ BitMask<WaterHeaterDemandBitmap> WhmManufacturer::DetermineHeatingSources()
8484
BitMask<WaterHeaterTypeBitmap> heaterTypes = dg->GetHeaterTypes();
8585

8686
uint8_t heaterDemandMask = 0;
87-
for (uint8_t idx = 0; idx < sizeof(waterHeaterTypeValues) / sizeof(waterHeaterTypeValues[0]); idx++)
87+
for (uint16_t idx = 0; idx < static_cast<uint16_t>(sizeof(waterHeaterTypeValues) / sizeof(waterHeaterTypeValues[0])); idx++)
8888
{
8989
// Is this heating source being used?
9090
if (heaterTypes.Raw() & waterHeaterTypeValues[idx])

0 commit comments

Comments
 (0)