diff options
author | nate <nate@FreeBSD.org> | 1993-06-30 22:59:18 +0000 |
---|---|---|
committer | nate <nate@FreeBSD.org> | 1993-06-30 22:59:18 +0000 |
commit | be449bcfcc01b5c6607908472ea1d1701ca7df59 (patch) | |
tree | dbe1d2034703abb3777dc40d8f811c8d552813ce /usr.sbin/tcpdump | |
parent | 4bbfb3867b36a5f1dd04a2350ecb3cf81d8bf344 (diff) | |
download | FreeBSD-src-be449bcfcc01b5c6607908472ea1d1701ca7df59.zip FreeBSD-src-be449bcfcc01b5c6607908472ea1d1701ca7df59.tar.gz |
Added (protection) around negative constants, in case a program wants
to use the negative of that constant.
#define NEG_NUM -3
#define SAFE_NEG_NUM (-3)
i = -NEG_NUM; /* Error --3 */
j = -SAFE_NEG_NUM /* Okay -(-3) */
Diffstat (limited to 'usr.sbin/tcpdump')
0 files changed, 0 insertions, 0 deletions