Squelch a "not allowed in C++" warning.

Change-Id: I2accdb7fe02072853a5ec9cae84403f3224dfada
Reviewed-on: https://code.wireshark.org/review/14718
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2016-03-30 17:47:28 -07:00
parent 8ba351b04b
commit 3467a1f693
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{