Date: Tue, 16 Mar 2021 07:03:47 -0200 From: =?UTF-8?Q?Ionu=C8=9B_Mihalache?= <ionut.mihalache1506@gmail.com> To: freebsd-hackers@freebsd.org Subject: UCL library bug Message-ID: <CAOxbktb3cQWHUgBD1yB==pMg8p2JkDAPx0-HQ6RZvQ-v0LRY1Q@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hello, I am using the ucl library to write in a file 64bit values. The data type is uint64_t or int64_t; on write I use %lu or %ld regarding the type and everything works, on read on the other hand something weird seems to happen: I read using %ld only and for small value it works, for values like 18,374,686,479,671,672,848 the ucl type type is recognized as UCL_STRING instead of UCL_INT and I don't know why this is happening. Is there a bug in the library? Thank you, Ionut
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOxbktb3cQWHUgBD1yB==pMg8p2JkDAPx0-HQ6RZvQ-v0LRY1Q>