aboutsummaryrefslogtreecommitdiff
path: root/example/reader_util.c
diff options
context:
space:
mode:
authorLuca <deri@ntop.org>2020-10-05 08:26:24 +0200
committerLuca <deri@ntop.org>2020-10-05 08:26:24 +0200
commit05d93790e4d2b54d043bbb61b9978ccad64f2ab3 (patch)
treedf8c1c6c1413f70b59526e8ca3c3da014a0db06c /example/reader_util.c
parent32e4922c5aa203a3f250b3048cd5488c77ee1a04 (diff)
Added ndpi_quick_16_byte_hash
Warning fix
Diffstat (limited to 'example/reader_util.c')
-rw-r--r--example/reader_util.c2
1 files changed, 1 insertions, 1 deletions
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 */