diff options
author | Guy Harris <guy@alum.mit.edu> | 2018-07-14 10:39:54 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2018-07-14 10:39:54 -0700 |
commit | 2cac04a8d99d06da8eb2a0e12e9304300da6c93f (patch) | |
tree | c8de0a6838695efbbae5b5ea88f22af08ef48001 | |
parent | 464962e8fb2452273d69c01a00ea92a80ee40a30 (diff) |
Make the time stamp scale factor 64-bit.
It's calculated as the quotient of two 64-bit values, and is used only
in 64-bit calculations, so it should be made 64-bit as well.
-rw-r--r-- | sf-pcapng.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sf-pcapng.c b/sf-pcapng.c index ecfb932e..8c8e93ec 100644 --- a/sf-pcapng.c +++ b/sf-pcapng.c @@ -199,7 +199,7 @@ typedef enum { struct pcap_ng_if { uint64_t tsresol; /* time stamp resolution */ tstamp_scale_type_t scale_type; /* how to scale */ - u_int scale_factor; /* time stamp scale factor for power-of-10 tsresol */ + uint64_t scale_factor; /* time stamp scale factor for power-of-10 tsresol */ uint64_t tsoffset; /* time stamp offset */ }; |