From 051e8df7a77bb5b0d62940190e31e906b7c39bfa Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Wed, 6 Nov 2024 17:40:45 +0100 Subject: Unify ndpi debug logging to always use a u16 protocol id * fixes SonarCloud complaint Signed-off-by: Toni Uhlig --- fuzz/fuzz_ds_domain_classify.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fuzz/fuzz_ds_domain_classify.cpp') diff --git a/fuzz/fuzz_ds_domain_classify.cpp b/fuzz/fuzz_ds_domain_classify.cpp index ccb106a6f..0938faec7 100644 --- a/fuzz/fuzz_ds_domain_classify.cpp +++ b/fuzz/fuzz_ds_domain_classify.cpp @@ -12,7 +12,7 @@ static struct ndpi_detection_module_struct *ndpi_struct = NULL; extern "C" { #ifdef NDPI_ENABLE_DEBUG_MESSAGES -void ndpi_debug_printf(unsigned int proto, struct ndpi_detection_module_struct *ndpi_str, ndpi_log_level_t log_level, +void ndpi_debug_printf(uint16_t proto, struct ndpi_detection_module_struct *ndpi_str, ndpi_log_level_t log_level, const char *file_name, const char *func_name, unsigned int line_number, const char *format, ...); #endif -- cgit v1.2.3