aboutsummaryrefslogtreecommitdiff
path: root/src/include/ndpi_api.h
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2023-11-08 22:54:30 +0100
committerToni Uhlig <matzeton@googlemail.com>2023-11-08 23:55:14 +0100
commit9bf09f37d8e4e91c4ad9dd2790194fdf74abafab (patch)
tree68d7a2ccf7d69657c5c02fc0499da3541a9516f2 /src/include/ndpi_api.h
parentb539b0d0902bc0fda235d8bbf1bc7f64e9028465 (diff)
Fixed implicit u32 cast in `ndpi_data_min()` / `ndpi_data_max()`.fix/data-analyse-implicit-u32-cast
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'src/include/ndpi_api.h')
-rw-r--r--src/include/ndpi_api.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/ndpi_api.h b/src/include/ndpi_api.h
index d7bb344ab..9621f8e37 100644
--- a/src/include/ndpi_api.h
+++ b/src/include/ndpi_api.h
@@ -1780,8 +1780,8 @@ extern "C" {
float ndpi_data_stddev(struct ndpi_analyze_struct *s);
float ndpi_data_mean(struct ndpi_analyze_struct *s);
u_int64_t ndpi_data_last(struct ndpi_analyze_struct *s);
- u_int32_t ndpi_data_min(struct ndpi_analyze_struct *s);
- u_int32_t ndpi_data_max(struct ndpi_analyze_struct *s);
+ u_int64_t ndpi_data_min(struct ndpi_analyze_struct *s);
+ u_int64_t ndpi_data_max(struct ndpi_analyze_struct *s);
float ndpi_data_ratio(u_int32_t sent, u_int32_t rcvd);
/* ******************************* */