]> git.ipfire.org Git - thirdparty/chrony.git/commit
main: assert supported integer size, representation and conversion
authorMiroslav Lichvar <mlichvar@redhat.com>
Wed, 2 Dec 2015 11:18:01 +0000 (12:18 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 3 Dec 2015 10:43:06 +0000 (11:43 +0100)
commitbafb434f068b35efcb9b1ffd6c8bb4198cd32eb5
treecab1780acc583fcb8d6d9324eb7f72309da445a2
parent8e71a46173afe01e11620980a1c7c028d7fd048f
main: assert supported integer size, representation and conversion

Abort immediately on start if chronyd is compiled on a platform with int
shorter than 32 bits, using other representation than two's complement,
or unexpected conversion of large unsigned integers to signed.
main.c