diff options
author | Guy Harris <guy@alum.mit.edu> | 2015-09-14 15:12:28 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2015-09-14 15:12:28 -0700 |
commit | ff1df423b6a8cda80cef88efa8a3162abcfd0e6e (patch) | |
tree | 465fb9a7070277c0b95c7ccf7a167f46fc168ad5 /print-llc.c | |
parent | 9883c76d127f71c8ed4a193ea34afa1b1cbf177e (diff) | |
download | tcpdump-ff1df423b6a8cda80cef88efa8a3162abcfd0e6e.tar.gz |
Use double rather than float.
That means we can fit a 32-bit integer into a floating-point value
without losing precision.
Also, put in explicit casts when we convert a floating-point value to an
integral value, to suppress compiler warnings.
Diffstat (limited to 'print-llc.c')
0 files changed, 0 insertions, 0 deletions