X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbinaryparser.cpp;h=e105393f3d02c16f1fbb21ff5a5922f365e8534b;hb=ffdab05698de3d2d612f04ffc146381c2362d386;hp=e4282aea8f64ae3cf23eec698f885ab2bcd823b6;hpb=256b44a5009467171af53316141277027bcc0ba4;p=libs%2Fdatafile.git diff --git a/source/binaryparser.cpp b/source/binaryparser.cpp index e4282ae..e105393 100644 --- a/source/binaryparser.cpp +++ b/source/binaryparser.cpp @@ -1,5 +1,4 @@ #include -#include #include #include #include "argumentstore.h" @@ -62,7 +61,7 @@ Statement BinaryParser::parse() result.args.push_back(parse_bool()); break; case SymbolType::signature: - result.args.push_back(parse_symbol()); + result.args.push_back(Value(parse_symbol())); break; } } @@ -201,7 +200,7 @@ IntType::Store BinaryParser::parse_int() FloatType::Store BinaryParser::parse_float() { - UInt64 encoded = 0; + uint64_t encoded = 0; for(unsigned i=0; i