Fix debug comp

This commit is contained in:
Roxanne 2024-01-31 10:03:29 +01:00
parent b6fbc92db3
commit 13f06d3c9b

View File

@ -63,7 +63,7 @@ namespace Components
if (fieldsToUpdate.contains(field->name)) if (fieldsToUpdate.contains(field->name))
{ {
assert(field->bits == oldBitLength); assert(static_cast<size_t>(field->bits) == oldBitLength);
Utils::Hook::Set(&field->bits, newBitLength); Utils::Hook::Set(&field->bits, newBitLength);
currentBitOffset++; currentBitOffset++;