Fix sign comparison mismatch in plugins

Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
This commit is contained in:
Ibrahim Zidan 2026-06-30 14:05:39 +03:00
parent 5f9b8926bf
commit 4f1f208eb4
No known key found for this signature in database
GPG key ID: 0F0A43C7FE4C7B9A

View file

@ -84,11 +84,11 @@ VECTOR_STRUCT_DECL(autorelease, struct map_session_data *);
static bool checklook(const struct view_data *vd, enum look expected_bottom, enum look expected_top, enum look expected_mid)
{
nullpo_retr(false, vd);
if (vd->head_bottom != expected_bottom)
if (vd->head_bottom != (int)expected_bottom)
return false;
if (vd->head_top != expected_top)
if (vd->head_top != (int)expected_top)
return false;
if (vd->head_mid != expected_mid)
if (vd->head_mid != (int)expected_mid)
return false;
return true;
}