summaryrefslogtreecommitdiff
path: root/wiretap/iseries.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2013-03-19 19:02:25 +0000
committerAnders Broman <anders.broman@ericsson.com>2013-03-19 19:02:25 +0000
commit089dfcd1085ac242322b8e90845ad9913ac7fcd3 (patch)
treee838e807832ae7cc6fe4861cc9c06103630db771 /wiretap/iseries.c
parentc3a054e6c196eacb944027cf8306a250bc1144a3 (diff)
downloadwireshark-089dfcd1085ac242322b8e90845ad9913ac7fcd3.tar.gz
From beroset:
remove C++ incompatibilities https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 svn path=/trunk/; revision=48424
Diffstat (limited to 'wiretap/iseries.c')
-rw-r--r--wiretap/iseries.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/iseries.c b/wiretap/iseries.c
index b598be78bd..45911b2fac 100644
--- a/wiretap/iseries.c
+++ b/wiretap/iseries.c
@@ -715,7 +715,7 @@ iseries_parse_packet (wtap * wth, FILE_T fh,
wth->phdr.pkt_encap = WTAP_ENCAP_ETHERNET;
pseudo_header->eth.fcs_len = -1;
- ascii_buf = g_malloc (ISERIES_PKT_ALLOC_SIZE);
+ ascii_buf = (char *)g_malloc (ISERIES_PKT_ALLOC_SIZE);
g_snprintf(ascii_buf, ISERIES_PKT_ALLOC_SIZE, "%s%s%s", destmac, srcmac, type);
ascii_offset = 14*2; /* 14-byte Ethernet header, 2 characters per byte */