aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--epan/dissectors/packet-iso8583.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-iso8583.c b/epan/dissectors/packet-iso8583.c
index c1d69eecae..679ad9d3f2 100644
--- a/epan/dissectors/packet-iso8583.c
+++ b/epan/dissectors/packet-iso8583.c
@@ -556,7 +556,7 @@ static gchar* bin2hex(const guint8 *bin, enum bin2hex_enum type, guint32 len)
gchar* buff;
/* "size" characters, plus terminating NUL */
- ret = wmem_alloc(wmem_packet_scope(), size + 1);
+ ret = (gchar *)wmem_alloc(wmem_packet_scope(), size + 1);
buff = ret;
if(type == TYPE_BCD)
{