Fix signed/unsigned mismatch warning (#428)

* Fix signed/unsigned mismatch warning

* Fix GCC type warnings
This commit is contained in:
IgnacioFDM
2017-04-04 05:32:04 -03:00
committed by Vincent Herbet
parent 2863455185
commit 2d049b7ff3
4 changed files with 5 additions and 5 deletions

View File

@ -3166,7 +3166,7 @@ static cell AMX_NATIVE_CALL register_logevent(AMX *amx, cell *params)
auto logevent = LogEventHandles.lookup(handle)->m_logevent;
auto numparam = *params / sizeof(cell);
for (auto i = 3; i <= numparam; ++i)
for (auto i = 3U; i <= numparam; ++i)
{
logevent->registerFilter(get_amxstring(amx, params[i], 0, length));
}