Skip to content

Commit

Permalink
[attribute-storage] fix integer printing
Browse files Browse the repository at this point in the history
  • Loading branch information
plan44 committed Aug 12, 2023
1 parent f8c1117 commit 8526882
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/util/attribute-storage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,8 @@ EmberAfStatus setupDynamicEndpointDeclaration(EmberAfEndpointType & endpointType
for (size_t i = 0; i < templateClusterIds.size(); i++)
{
auto cluster = getClusterTypeDefinition(templateEndpointId, templateClusterIds.data()[i], 0);
VerifyOrDieWithMsg(cluster, Support, "cluster 0x%04x template in endpoint %d does not exist", templateClusterIds.data()[i],
templateEndpointId);
VerifyOrDieWithMsg(cluster, Support, "cluster 0x%04x template in endpoint %u does not exist",
(unsigned int) templateClusterIds.data()[i], (unsigned int) templateEndpointId);
// for now, we need to copy the cluster definition, unfortunately.
// TODO: make endpointType use a pointer to a list of EmberAfCluster* instead, so we can re-use cluster definitions
// instead of duplicating them here once for every instance.
Expand Down

0 comments on commit 8526882

Please sign in to comment.