minor fix to keep same coherence of type used

This commit is contained in:
Campus
2016-10-30 01:14:49 +02:00
parent b8fb5fb403
commit 097ba22a59
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -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) {