diff options
author | Guy Harris <guy@alum.mit.edu> | 2018-01-14 14:15:18 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2018-01-14 14:15:18 -0800 |
commit | 9d83ad9c9e8ce15d380e7b04d8ffbb73991e552f (patch) | |
tree | 8bccd5cd35058c677b2f20aa49d3ce350a6beca6 /print-zephyr.c | |
parent | 3d291155a2a10868140d3e8bd7342b9150f42a0f (diff) | |
download | tcpdump-9d83ad9c9e8ce15d380e7b04d8ffbb73991e552f.tar.gz |
Clean up signed vs. unsigned warnings.
If length is a uint8_t, subtracting 2 (a value of type int) from it
yields a value of type int, so compariing it against a u_int index
causes a signed vs. unsigned warning.
Make it a u_int instead (before we subtract 2 from it, we've already
checked to make sure it's >= 2, so we know the result will never be
negative).
Diffstat (limited to 'print-zephyr.c')
0 files changed, 0 insertions, 0 deletions