Attempt to appease travis
This commit is contained in:
parent
ca8c944f52
commit
eb2cff007b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue