forked from osmocom/wireshark
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:
parent
8ba351b04b
commit
3467a1f693
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue