You have to cast void pointers to another type in C++; implicit
authorGuy Harris <guy@alum.mit.edu>
Sat, 2 Nov 2013 00:50:24 +0000 (00:50 -0000)
committerGuy Harris <guy@alum.mit.edu>
Sat, 2 Nov 2013 00:50:24 +0000 (00:50 -0000)
conversions aren't valid.

svn path=/trunk/; revision=53037

epan/dissectors/packet-http.c

index fd7537a124160319ca302e04ab40e9e88993cf22..71580005279a3c0945a324622eab87f6af18de80 100644 (file)
@@ -1982,7 +1982,8 @@ http_payload_subdissector(tvbuff_t *tvb, proto_tree *tree,
                        saved_port = *ptr;
                        *ptr = uri_port;
                        decode_tcp_ports(tvb, 0, pinfo, tree,
-                               pinfo->srcport, pinfo->destport, NULL, data);
+                               pinfo->srcport, pinfo->destport, NULL,
+                               (struct tcpinfo *)data);
                        *ptr = saved_port;
                }
        }