summaryrefslogtreecommitdiff
path: root/src/lib/libc/crypt
diff options
context:
space:
mode:
authorray <>2008-03-15 21:54:09 +0000
committerray <>2008-03-15 21:54:09 +0000
commita8537602a33c58670952fc29ef3a95e13d478746 (patch)
treef113bd014a19461f4ba600fa0f3ebff056955bdd /src/lib/libc/crypt
parent345b0c776379664674cd63535337db1453a25b4d (diff)
downloadopenbsd-a8537602a33c58670952fc29ef3a95e13d478746.tar.gz
openbsd-a8537602a33c58670952fc29ef3a95e13d478746.tar.bz2
openbsd-a8537602a33c58670952fc29ef3a95e13d478746.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 'src/lib/libc/crypt')
0 files changed, 0 insertions, 0 deletions