aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorheadshog <craaaaaachind@gmail.com>2023-05-16 19:05:48 +0300
committerIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2023-05-20 15:09:51 +0200
commitdd7198fcafb419779ab8803a99528d7609bac53d (patch)
treed07fb46adfc0d5697474fae2c194b6ac4406c47d /src/lib
parent5ca6f0ac62d6b2c346bc99d2a1b1200fe9df7917 (diff)
fixed numeric truncation error
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/ndpi_analyze.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ndpi_analyze.c b/src/lib/ndpi_analyze.c
index 1b3b9cc4f..75b650db5 100644
--- a/src/lib/ndpi_analyze.c
+++ b/src/lib/ndpi_analyze.c
@@ -93,7 +93,7 @@ void ndpi_reset_data_analysis(struct ndpi_analyze_struct *d) {
/*
Add a new point to analyze
*/
-void ndpi_data_add_value(struct ndpi_analyze_struct *s, const u_int32_t value) {
+void ndpi_data_add_value(struct ndpi_analyze_struct *s, const u_int64_t value) {
if(!s)
return;