We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9685fee commit 1e118dbCopy full SHA for 1e118db
src/app/clusters/network-commissioning/network-commissioning.cpp
@@ -1383,9 +1383,9 @@ CHIP_ERROR Instance::EnumerateAcceptedCommands(const ConcreteClusterPath & clust
1383
1384
if(hasNet | hasWifi) {
1385
//Avoid extra memory allocation
1386
- return builder.ReferenceExisting({commands, 5z + (hasCred? 1z : 0z)});
+ return builder.ReferenceExisting({commands, size_t{5} + (hasCred? 1 : 0)});
1387
} else if(hasCred) {
1388
- return builder.ReferenceExisting({commands + 5z, 1z});
+ return builder.ReferenceExisting({commands + 5, size_t{1}});
1389
}
1390
1391
return CHIP_NO_ERROR;
0 commit comments