diff options
author | bde <bde@FreeBSD.org> | 1998-05-09 12:14:18 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-05-09 12:14:18 +0000 |
commit | 31cc4a2fce40a72d0f8b70e5aa2a4ee28ffb6862 (patch) | |
tree | aaee6431840839ddf2f583ac66c445a2af061c50 /usr.sbin/keyserv/Makefile | |
parent | 966bd989707d6877ddcd5015a4263608ecbc4aa7 (diff) | |
download | FreeBSD-src-31cc4a2fce40a72d0f8b70e5aa2a4ee28ffb6862.zip FreeBSD-src-31cc4a2fce40a72d0f8b70e5aa2a4ee28ffb6862.tar.gz |
Fixed overflow in sysinit enum constants. In that little-used
language, ANSI C, enum constants must be representable as ints.
We assumed at-least-33-bit ints. This worked on some 32-bit
systems because we don't mix negative sysinit enum constants with
too-large sysinit enum constants, and the compiler used an unsigned
32-bit type for sysinit enum variables, so sysinit enum variables
were sorted correctly. The fix lops off 4 hopefully-unused bits
so that we now only assume at-least-29-bit ints.
Diffstat (limited to 'usr.sbin/keyserv/Makefile')
0 files changed, 0 insertions, 0 deletions