Skip to content

Commit

Permalink
surgsim_lite.cpp:
Browse files Browse the repository at this point in the history
* Windows warning fix.
  • Loading branch information
razterizer committed Oct 2, 2024
1 parent f0d7788 commit 60636fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SurgSim_Lite/surgsim_lite.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class Game : public GameEngine<>
{
GameEngine::set_sim_delay_us(200'000.f);
if (argc >= 2)
GameEngine::set_sim_delay_us(atoi(argv[1]));
GameEngine::set_sim_delay_us(static_cast<float>(atoi(argv[1])));

if (argc >= 3)
{
Expand Down

0 comments on commit 60636fb

Please sign in to comment.