Skip to content

Commit

Permalink
Refs 21095: Fix casting for windows compilation
Browse files Browse the repository at this point in the history
Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
  • Loading branch information
Mario-DL committed Jun 11, 2024
1 parent d5ceeab commit 1ac88f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/cpp/discovery_server/CLIParser.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ class CLIParser
}
else
{
config.pub_config.interval = static_cast<uint32_t>(input);
config.pub_config.interval = static_cast<uint16_t>(input);
}
}
catch (const std::invalid_argument& e)
Expand Down

0 comments on commit 1ac88f3

Please sign in to comment.