From: Sergey Matveev Date: Mon, 7 Oct 2024 12:12:20 +0000 (+0300) Subject: Note that .sint holds negative numbers X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=5c8fb70e1d9065143ca9e970da101b1a9f77802c2b3685fc509848f98710fd67;p=keks.git Note that .sint holds negative numbers --- diff --git a/cyac/dec.h b/cyac/dec.h index b483f4f..4fa742e 100644 --- a/cyac/dec.h +++ b/cyac/dec.h @@ -52,8 +52,8 @@ struct YACAtom { size_t len; // length of the strings, TAI64, raw values union { uint64_t uint; // unsigned integer's value - int64_t sint; // signed integer's value - const unsigned char *buf; // strings and TAI64 value + int64_t sint; // negative signed integer's value + const unsigned char *buf; // strings, TAI64, UUID value } val; enum YACItemType typ; // type of the item, consolidated unsigned char tag; // real type of the atom