Skip to content

Commit

Permalink
Attempt to appease travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Aug 28, 2016
1 parent ca8c944 commit eb2cff0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/synced_commands.cpp
Expand Up @@ -192,7 +192,7 @@ SYNCED_COMMAND_HANDLER_FUNCTION(attack, child, /*use_undo*/, show, error_handler
}
}

if (size_t(weapon_num) >= u->attacks().size()) {
if (static_cast<unsigned>(weapon_num) >= u->attacks().size()) {
error_handler("illegal weapon type in attack\n", true);
return false;
}
Expand Down

0 comments on commit eb2cff0

Please sign in to comment.