diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2022-01-16 22:31:02 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2022-01-16 22:47:07 -0800 |
commit | 67e02aaea40a04eed6ed7abcfdf12d89e2793f77 (patch) | |
tree | 3410f932c4807601a745cac0147733c54918e920 /ChangeLog | |
parent | 1eae0f7ea3c220d054025f2c9211700665f9f4a0 (diff) | |
download | gnulib-67e02aaea40a04eed6ed7abcfdf12d89e2793f77.tar.gz |
xstrtoll-tests: use %lld for long long
* tests/test-xstrtoll.c, tests/test-xstrtoull.c (__spec):
Do not assume long long is 64 bits, or that exact-width
64-bit types exist. Although these assumptions are true
on current Gnulib platforms they are not true in general.
Also, GCC warns if PRId64 is "ld" but intmax_t is long long
even when long and long long are both 64 bits.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,13 @@ +2022-01-16 Paul Eggert <eggert@cs.ucla.edu> + + xstrtoll-tests: use %lld for long long + * tests/test-xstrtoll.c, tests/test-xstrtoull.c (__spec): + Do not assume long long is 64 bits, or that exact-width + 64-bit types exist. Although these assumptions are true + on current Gnulib platforms they are not true in general. + Also, GCC warns if PRId64 is "ld" but intmax_t is long long + even when long and long long are both 64 bits. + 2022-01-15 Bruno Haible <bruno@clisp.org> Don't pass unknown warning option to clang. |