]> Savannah Git Hosting - gnulib.git/commit
stdint: Verify the width of 'long long' before using it as int64_t.
authorBruno Haible <bruno@clisp.org>
Mon, 20 May 2024 11:12:50 +0000 (13:12 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 20 May 2024 11:12:50 +0000 (13:12 +0200)
commit4712e28b69656684f2e834d61c498995c35c1a6f
treeb3edb364f768ed456a3051c26b98ac57b9283f5a
parent25279ee571d29948678eef2623254c844f576870
stdint: Verify the width of 'long long' before using it as int64_t.

Suggested by Paul Eggert in
<https://lists.gnu.org/archive/html/bug-gnulib/2024-05/msg00315.html>.

* lib/stdint.in.h (gl_int64_t): Verify that the number of bits of
'long long' is 64 before using it.
(gl_uint64_t): Verify that the number of bits of 'unsigned long long'
is 64 before using it.
ChangeLog
lib/stdint.in.h