diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-12-11 22:55:40 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-12-11 22:55:40 +0000 |
commit | fc4d67c279b2d8573673469d68082d1f7c280438 (patch) | |
tree | b989e38630062ef9cdeae5a135ca444c7fc6a336 /usr.bin/xlint/llib/llib-lstdc | |
parent | 0a4b967b12c2c46a46d4f1ea49d2122d2dd2190e (diff) |
Make x_handy in XDR u_int, not int since there are places in the
code that assign a u_int value to x_handy. However, this means
that we need to be careful checking for overflow as we can no longer
subtract a value and check the result for < 0. We reorder the
expression instead to avoid this problem (basic algebra).
deraadt@ OK
Diffstat (limited to 'usr.bin/xlint/llib/llib-lstdc')
0 files changed, 0 insertions, 0 deletions