summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/qabs.c
diff options
context:
space:
mode:
authormillert <>2004-07-16 16:03:36 +0000
committermillert <>2004-07-16 16:03:36 +0000
commit5324f527aa491efaf55f123392b79694bc7fca89 (patch)
treed211ca202a6ae4364ac84885940682f85079a463 /src/lib/libc/stdlib/qabs.c
parente908c5a3dbc60cd83730f45e3ac72f1d79ec5faa (diff)
downloadopenbsd-5324f527aa491efaf55f123392b79694bc7fca89.tar.gz
openbsd-5324f527aa491efaf55f123392b79694bc7fca89.tar.bz2
openbsd-5324f527aa491efaf55f123392b79694bc7fca89.zip
Avoid comparing unsigned and signed long longs since the signed
one will get implicitly cast to unsigned. Fixes a bug with negative minval noticed by mjc@. Similar to a diff from miod@. OK miod@.
Diffstat (limited to 'src/lib/libc/stdlib/qabs.c')
0 files changed, 0 insertions, 0 deletions