Squelch a compiler warning.
Change-Id: I8933cbc250e3d1a3c6867f8166bc5b584b82211c Reviewed-on: https://code.wireshark.org/review/12977 Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
07d0a59cb4
commit
5c06954565
|
@ -2098,7 +2098,7 @@ dissect_cpf(enip_request_key_t *request_key, int command, tvbuff_t *tvb,
|
|||
guint32 *datap;
|
||||
|
||||
port = tvb_get_ntohs(tvb, offset+8);
|
||||
datap = wmem_alloc(wmem_file_scope(), sizeof(guint32));
|
||||
datap = (guint32 *)wmem_alloc(wmem_file_scope(), sizeof(guint32));
|
||||
*datap = tvb_get_ipv4(tvb, offset+10);
|
||||
|
||||
if (item == SOCK_ADR_INFO_OT)
|
||||
|
|
Loading…
Reference in New Issue