summaryrefslogtreecommitdiffstats
path: root/sys/dev/i2c
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2006-05-14 09:01:06 +0000
committerespie <espie@openbsd.org>2006-05-14 09:01:06 +0000
commitb09fd9d58463afc6d21e47699f0051bb653098f2 (patch)
treeb619a704c88d9b84e5c13bbe2462df24076038b7 /sys/dev/i2c
parentAdd a -hex option to 'rand' to output hexadecimal output. (diff)
downloadwireguard-openbsd-b09fd9d58463afc6d21e47699f0051bb653098f2.tar.xz
wireguard-openbsd-b09fd9d58463afc6d21e47699f0051bb653098f2.zip
lint warns about some fishy type conversion.
Indeed, some ints can be silently shortened to unsigned short. Since those functions can return errors, do not convert spurious parameters to the wrong values, but return an error code instead. Tested for ill effects without any noticeable problems. okay millert@, otto@
Diffstat (limited to 'sys/dev/i2c')
0 files changed, 0 insertions, 0 deletions