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:
Guy Harris 2015-12-31 14:38:04 -08:00
parent 07d0a59cb4
commit 5c06954565
1 changed files with 1 additions and 1 deletions

View File

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