summaryrefslogtreecommitdiffstats
path: root/lib/libpthread
diff options
context:
space:
mode:
authorray <ray@openbsd.org>2008-03-15 21:54:09 +0000
committerray <ray@openbsd.org>2008-03-15 21:54:09 +0000
commite2a0e6548b9b96d13c8b4df1e9c6f5c54dc35074 (patch)
tree7e4882d61da5f9690f18097f9d5c6ac6f4103654 /lib/libpthread
parentConvert c to unsigned char, like it says in the manual. Also add (diff)
downloadwireguard-openbsd-e2a0e6548b9b96d13c8b4df1e9c6f5c54dc35074.tar.xz
wireguard-openbsd-e2a0e6548b9b96d13c8b4df1e9c6f5c54dc35074.zip
- len is size_t, but n uses len and is an int. Matching those types
should be good, plus it prevents weird things from happening if len > INT_MAX. - Since n is now size_t, compare it against 0 instead of >= 0. - temp is used to store individual bytes, so use char instead (matches fp and tp). - millert noted that the comma operator may not guarantee order of execution, so replace with semicolons. Found by lint, OK millert.
Diffstat (limited to 'lib/libpthread')
0 files changed, 0 insertions, 0 deletions