Warning fix: sign cast

PiperOrigin-RevId: 610635789
This commit is contained in:
Jan Wassenberg 2024-02-26 22:31:03 -08:00 committed by Copybara-Service
parent afc354dcb1
commit b3fecef45d
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ std::string Stats::ToString(int exclude) const {
pos += ret; pos += ret;
} }
HWY_ASSERT(pos < sizeof(buf)); HWY_ASSERT(pos < static_cast<int>(sizeof(buf)));
return buf; return buf;
} }