Skip to content

Commit

Permalink
static-enum-endpoints-cpp: print functionBlock, groupTerminalBlock Nu…
Browse files Browse the repository at this point in the history
…mber as int (type is uint8_t)
  • Loading branch information
jmelas committed Feb 25, 2025
1 parent e058d55 commit aadf588
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samples/cpp-winrt/static-enum-endpoints/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ int main()

for (auto const& functionBlock : functionBlocks)
{
std::cout << " - " << functionBlock.Number() << " : " << winrt::to_string(functionBlock.Name()) << std::endl;
std::cout << " - " << int(functionBlock.Number()) << " : " << winrt::to_string(functionBlock.Name()) << std::endl;
}


Expand All @@ -219,7 +219,7 @@ int main()

for (auto const& groupTerminalBlock : groupTerminalBlocks)
{
std::cout << " - " << groupTerminalBlock.Number() << " : " << winrt::to_string(groupTerminalBlock.Name()) << std::endl;
std::cout << " - " << int(groupTerminalBlock.Number()) << " : " << winrt::to_string(groupTerminalBlock.Name()) << std::endl;
}


Expand Down

0 comments on commit aadf588

Please sign in to comment.