aboutsummaryrefslogtreecommitdiffstats
path: root/epan/address.h
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2013-03-07 18:37:58 +0000
committerPascal Quantin <pascal.quantin@gmail.com>2013-03-07 18:37:58 +0000
commitaec6d0a7551ed14e4978e52457531c6fbb684bfd (patch)
tree0e25c6ee4067c36b227014af07958f38bd918b51 /epan/address.h
parent27a334560e849d3d649f7521f96a4abc9b33aa56 (diff)
From Ed Beroset via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 :
Remove C++ incompatibilities from ssl and ssh files svn path=/trunk/; revision=48174
Diffstat (limited to 'epan/address.h')
-rw-r--r--epan/address.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/address.h b/epan/address.h
index 9a23846774..5c4c564601 100644
--- a/epan/address.h
+++ b/epan/address.h
@@ -170,7 +170,7 @@ typedef struct _address {
(to)->type = (from)->type; \
(to)->len = (from)->len; \
(to)->hf = (from)->hf; \
- SE_COPY_ADDRESS_data = se_alloc((from)->len); \
+ SE_COPY_ADDRESS_data = (guint8 *)se_alloc((from)->len); \
memcpy(SE_COPY_ADDRESS_data, (from)->data, (from)->len); \
(to)->data = SE_COPY_ADDRESS_data; \
}