]> Cypherpunks repositories - keks.git/commitdiff
Note that .sint holds negative numbers
authorSergey Matveev <stargrave@stargrave.org>
Mon, 7 Oct 2024 12:12:20 +0000 (15:12 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Mon, 7 Oct 2024 12:53:46 +0000 (15:53 +0300)
cyac/dec.h

index b483f4f0d2da6e4b6516093ab7f53bdf166319220cb74e81bc10fd9147555677..4fa742ec30d9c93142330ed696deafaeb0daf572aa63004d1e938fbb7444bac9 100644 (file)
@@ -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