💚 fix build

This commit is contained in:
Niels Lohmann 2020-07-21 09:09:30 +02:00
parent 1339d6b683
commit b1903fff1f
No known key found for this signature in database
GPG key ID: 7F3CEA63AE251B69
2 changed files with 4 additions and 4 deletions

View file

@ -2012,7 +2012,7 @@ class binary_reader
} }
// get number string // get number string
std::vector<char_int_type> number_vector; std::vector<char> number_vector;
for (std::size_t i = 0; i < size; ++i) for (std::size_t i = 0; i < size; ++i)
{ {
get(); get();
@ -2020,7 +2020,7 @@ class binary_reader
{ {
return false; return false;
} }
number_vector.push_back(current); number_vector.push_back(static_cast<char>(current));
} }
// parse number string // parse number string

View file

@ -9512,7 +9512,7 @@ class binary_reader
} }
// get number string // get number string
std::vector<char_int_type> number_vector; std::vector<char> number_vector;
for (std::size_t i = 0; i < size; ++i) for (std::size_t i = 0; i < size; ++i)
{ {
get(); get();
@ -9520,7 +9520,7 @@ class binary_reader
{ {
return false; return false;
} }
number_vector.push_back(current); number_vector.push_back(static_cast<char>(current));
} }
// parse number string // parse number string