support signed integers, negative numbers; binary format change: encode numbers as SLEB128 v_0
authorFrantišek Kučera <franta-hg@frantovo.cz>
Fri, 13 Dec 2019 22:19:39 +0100
branchv_0
changeset 21 c4e54e9be412
parent 20 a8ccd2b19faa
child 22 86b7c37425f3
support signed integers, negative numbers; binary format change: encode numbers as SLEB128
include/relpipe/protocol/typedefs.h
--- a/include/relpipe/protocol/typedefs.h	Fri Dec 13 14:55:06 2019 +0100
+++ b/include/relpipe/protocol/typedefs.h	Fri Dec 13 22:19:39 2019 +0100
@@ -28,7 +28,7 @@
 namespace protocol {
 
 using octet_t = uint8_t;
-using integer_t = uint64_t;
+using integer_t = int64_t;
 using boolean_t = bool;
 using string_t = std::wstring;