From 5c8fb70e1d9065143ca9e970da101b1a9f77802c2b3685fc509848f98710fd67 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Mon, 7 Oct 2024 15:12:20 +0300 Subject: [PATCH] Note that .sint holds negative numbers --- cyac/dec.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.48.1