summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>1999-11-20 18:51:58 +0000
committerespie <espie@openbsd.org>1999-11-20 18:51:58 +0000
commitd42bed4bf58af1881a492f6feab32d711320cd8f (patch)
tree40c19379918dfd770eee115b8d88113b9e8aebe5 /sys/kern
parentGrab hashtab.c from the development version of gcc, add it to libiberty. (diff)
downloadwireguard-openbsd-d42bed4bf58af1881a492f6feab32d711320cd8f.tar.xz
wireguard-openbsd-d42bed4bf58af1881a492f6feab32d711320cd8f.zip
ioctl arguments are u_long.
Replaces `undefined' code with `defined' behavior... gcc 2.96 performs switch cases range analysis, warns about unreachable cases, and weeds them out. In switch(i) { case VALUE: } VALUE is first coerced into the type of i. If i is signed, VALUE is unsigned and exceeds i range, you lose... the result of the conversion is undefined.
Diffstat (limited to 'sys/kern')
0 files changed, 0 insertions, 0 deletions