Skip to content

Commit

Permalink
Fix few format specifiers (#27657)
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhamdp authored and pull[bot] committed Mar 26, 2024
1 parent fe9a38f commit 3904232
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/MessageDef/CommandPathIB.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ CHIP_ERROR CommandPathIB::Parser::PrettyPrint() const
{
chip::CommandId commandId;
ReturnErrorOnFailure(reader.Get(commandId));
PRETTY_PRINT("\tCommandId = 0x%x,", commandId);
PRETTY_PRINT("\tCommandId = 0x%" PRIx32 ",", commandId);
}
#endif // CHIP_DETAIL_LOGGING
break;
Expand Down
2 changes: 1 addition & 1 deletion src/app/MessageDef/EventPathIB.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ CHIP_ERROR EventPathIB::Parser::PrettyPrint() const
{
EventId event;
reader.Get(event);
PRETTY_PRINT("\tEvent = 0x%x,", event);
PRETTY_PRINT("\tEvent = 0x%" PRIx32 ",", event);
}
#endif // CHIP_DETAIL_LOGGING
break;
Expand Down

0 comments on commit 3904232

Please sign in to comment.