]> git.ipfire.org Git - thirdparty/shadow.git/commit
src/: Fix long/time_t handling
authorTobias Stoeckmann <tobias@stoeckmann.org>
Thu, 14 Dec 2023 11:11:28 +0000 (12:11 +0100)
committerSerge Hallyn <serge@hallyn.com>
Fri, 5 Jan 2024 21:41:12 +0000 (15:41 -0600)
commit1a383194ff83ad563a060d798e2cce0a25f317b9
tree2195ed4bf56c00fe73335e83c7d195c6c78f60fa
parent2d188a9987789f019dae2d46c50578a474ab2bdd
src/: Fix long/time_t handling

Special care has to be taken for 32 bit systems with a 64 bit time_t,
since their long data type is still 32 bit.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Link: <https://github.com/shadow-maint/shadow/pull/876>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
src/pwck.c