Attempt to appease travis

This commit is contained in:
Charles Dang 2016-08-28 21:46:14 +11:00
parent ca8c944f52
commit eb2cff007b

View file

@ -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;
}