Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix to_i conversion for C++ that was changed in 0acd030
Fixes [info] - cpp_stl:"12345".to_i *** FAILED *** [info] "[kaitai::kstream::string_to_int](std::string("12345"..." was not equal to "[std::stoi](std::string("12345"..." (TranslatorSpec.scala:520) [info] Analysis: [info] "[kaitai::kstream::string_to_int](std::string("12345"..." -> "[std::stoi](std::string("12345"..." [info] - cpp_stl:"1234fe".to_i(16) *** FAILED *** [info] "[kaitai::kstream::string_to_int(std::string("1234fe")], 16)" was not equal to "[std::stoi(std::string("1234fe"), 0], 16)" (TranslatorSpec.scala:533) [info] Analysis: [info] "[kaitai::kstream::string_to_int(std::string("1234fe")], 16)" -> "[std::stoi(std::string("1234fe"), 0], 16)"
- Loading branch information