diff options
author | Luca Deri <lucaderi@users.noreply.github.com> | 2019-11-03 17:15:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-03 17:15:06 +0100 |
commit | 01455c318827b82a50889f186ee59bb690c36255 (patch) | |
tree | 5dfc016391e042d528ee9ad2be494801992176b6 | |
parent | a5210af823b449592a075a0cd8535f5656cf1866 (diff) | |
parent | dfd962a8bc09286e426d728d65ae37bf2f122257 (diff) |
Merge pull request #808 from oleg-umnik/dev
Change type
-rw-r--r-- | example/ndpiReader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c index 8b288fef8..d7c5630ef 100644 --- a/example/ndpiReader.c +++ b/example/ndpiReader.c @@ -1028,7 +1028,7 @@ static void printFlow(u_int16_t id, struct ndpi_flow_info *flow, u_int16_t threa if(csv_fp != NULL) { float data_ratio = ndpi_data_ratio(flow->src2dst_bytes, flow->dst2src_bytes); - float f = (float)flow->first_seen, l = (float)flow->last_seen; + double f = (double)flow->first_seen, l = (double)flow->last_seen; /* PLEASE KEEP IN SYNC WITH printCSVHeader() */ |