Skip to content

Commit

Permalink
today()
Browse files Browse the repository at this point in the history
  • Loading branch information
christoph2 committed Jul 21, 2024
1 parent d25609d commit 85b64bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pya2l/aml/unmarshal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class Reader {
}

inline std::string from_binary_str() {
auto length = from_binary<std::uint32_t>();
auto length = from_binary<std::size_t>();
std::string result;
auto start = m_buf.cbegin() + m_offset;

Expand Down
3 changes: 2 additions & 1 deletion pya2l/aml_parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ int main(int argc, const char* argv[]) {
} else {
// stream.open("C:/csProjects/pyA2L/examples/xcp100.aml");
// stream.open("C:/csProjects/pyA2L/pya2l/examples/AML.tmp");
stream.open("C:/csProjects/pyA2L/pya2l/PreProcessor/AML.tmp");
stream.open("C:/csProjects/pyA2L/pya2l/examples/vector.aml");
//stream.open("C:/csProjects/pyA2L/pya2l/PreProcessor/AML.tmp");
}

ANTLRInputStream input(stream);
Expand Down

0 comments on commit 85b64bd

Please sign in to comment.