Skip to content

Commit

Permalink
Remove unnecessary cast
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisThrasher committed Oct 29, 2024
1 parent 10fe46f commit 90b3a22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imgui-SFML.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1095,7 +1095,7 @@ void RenderDrawLists(ImDrawData* draw_data)

unsigned int getConnectedJoystickId()
{
for (unsigned int i = 0; i < (unsigned int)sf::Joystick::Count; ++i)
for (unsigned int i = 0; i < sf::Joystick::Count; ++i)
{
if (sf::Joystick::isConnected(i))
return i;
Expand Down

0 comments on commit 90b3a22

Please sign in to comment.