aboutsummaryrefslogtreecommitdiff
path: root/src/lib/ndpi_main.c
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2015-05-19 08:14:52 +0200
committerLuca Deri <deri@ntop.org>2015-05-19 08:14:52 +0200
commitad28d5ff7b5d5793172032281a9527bac4e64a62 (patch)
tree0da81a98712bf4ee05eac72082da7740643731af /src/lib/ndpi_main.c
parentc6d09df8846e6566d7d11b471732d11e15f8b93f (diff)
parent167c83121262c4621b56f1cb3927bf5f8a5f9a69 (diff)
Merge branch 'dev' of https://github.com/ntop/nDPI into dev
Diffstat (limited to 'src/lib/ndpi_main.c')
-rw-r--r--src/lib/ndpi_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c
index 722984953..7719f766e 100644
--- a/src/lib/ndpi_main.c
+++ b/src/lib/ndpi_main.c
@@ -4212,7 +4212,7 @@ unsigned int ndpi_detection_process_packet(struct ndpi_detection_module_struct *
flow->packet.tick_timestamp = d;
}
#else
- flow->packet.tick_timestamp = current_tick_l/1000;
+ flow->packet.tick_timestamp = (u_int32_t)current_tick_l/1000;
#endif
/* parse packet */