From 05d93790e4d2b54d043bbb61b9978ccad64f2ab3 Mon Sep 17 00:00:00 2001 From: Luca Date: Mon, 5 Oct 2020 08:26:24 +0200 Subject: Added ndpi_quick_16_byte_hash Warning fix --- example/reader_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example') diff --git a/example/reader_util.c b/example/reader_util.c index 7b1b6f271..eb87e8d2e 100644 --- a/example/reader_util.c +++ b/example/reader_util.c @@ -1075,7 +1075,7 @@ void process_ndpi_collected_info(struct ndpi_workflow * workflow, struct ndpi_fl } /* MDNS */ else if(is_ndpi_proto(flow, NDPI_PROTOCOL_MDNS)) { - char *name = flow->ndpi_flow->host_server_name; /* Trick to avoid warning(s) */ + char *name = (char*)flow->ndpi_flow->host_server_name; /* Trick to avoid warning(s) */ snprintf(flow->info, sizeof(flow->info), "%s", name); } /* UBNTAC2 */ -- cgit v1.2.3