Change-Id: Ib179fdbdfe8edf8a83b3ff0de323bd26b4bb8362
Reviewed-on: https://code.wireshark.org/review/12945
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Michael Mann <mmann78@netscape.net>
{
guint32 val;
- memcpy((void *) &val, (void *) transport->source_address.data, sizeof(guint32));
+ memcpy(&val, transport->source_address.data, sizeof(guint32));
key_value[LBTRDMA_KEY_ELEMENT_SOURCE_ADDRESS] = val;
key_value[LBTRDMA_KEY_ELEMENT_SESSION_ID] = transport->session_id;
key_value[LBTRDMA_KEY_ELEMENT_PORT] = (guint32) transport->port;