diff options
Diffstat (limited to 'example/ndpi_util.c')
-rw-r--r-- | example/ndpi_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/ndpi_util.c b/example/ndpi_util.c index 405cac366..672eee561 100644 --- a/example/ndpi_util.c +++ b/example/ndpi_util.c @@ -748,7 +748,7 @@ void ndpi_workflow_process_packet (struct ndpi_workflow * workflow, } if(iph->version == 4) { - ip_len = ((u_short)iph->ihl * 4); + ip_len = ((u_int16_t)iph->ihl * 4); iph6 = NULL; if(iph->protocol == 41) { |