🚨 fix warnings

This commit is contained in:
Niels Lohmann 2024-12-22 13:30:36 +01:00
parent 3cd50255a8
commit 15ff3701a1
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69
2 changed files with 4 additions and 4 deletions

View File

@ -578,7 +578,7 @@ class serializer
case error_handler_t::keep:
{
// copy undumped chars to string buffer
for (int j = 0; j < undumped_chars; ++j)
for (std::size_t j = 0; j < undumped_chars; ++j)
{
string_buffer[bytes++] = s[bytes_after_last_accept + j];
}
@ -632,7 +632,7 @@ class serializer
case error_handler_t::keep:
{
// copy undumped chars to string buffer
for (int j = 0; j < undumped_chars; ++j)
for (std::size_t j = 0; j < undumped_chars; ++j)
{
string_buffer[bytes++] = s[bytes_after_last_accept + j];
}

View File

@ -19140,7 +19140,7 @@ class serializer
case error_handler_t::keep:
{
// copy undumped chars to string buffer
for (int j = 0; j < undumped_chars; ++j)
for (std::size_t j = 0; j < undumped_chars; ++j)
{
string_buffer[bytes++] = s[bytes_after_last_accept + j];
}
@ -19194,7 +19194,7 @@ class serializer
case error_handler_t::keep:
{
// copy undumped chars to string buffer
for (int j = 0; j < undumped_chars; ++j)
for (std::size_t j = 0; j < undumped_chars; ++j)
{
string_buffer[bytes++] = s[bytes_after_last_accept + j];
}