Fix signed/unsigned mismatch warning (#428)
* Fix signed/unsigned mismatch warning * Fix GCC type warnings
This commit is contained in:
committed by
Vincent Herbet
parent
2863455185
commit
2d049b7ff3
@ -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));
|
||||
}
|
||||
|
Reference in New Issue
Block a user