forked from osmocom/wireshark
Don't gratuitously cast away constness.
Change-Id: I51e7207835190fc87cf7c7cb0cf3a09a0588629a Reviewed-on: https://code.wireshark.org/review/25845 Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
a14c6a8490
commit
92f3a0f3e9
|
@ -6082,9 +6082,9 @@ lbm_uim_seq_analysis_packet(void *ptr, packet_info *pinfo, epan_dissect_t *edt _
|
|||
}
|
||||
if (stream_info->endpoint_a.type == lbm_uim_instance_stream)
|
||||
{
|
||||
rc = memcmp((void *)stream_info->endpoint_a.stream_info.ctxinst.ctxinst,
|
||||
(void *)stream_info->endpoint_b.stream_info.ctxinst.ctxinst,
|
||||
LBM_CONTEXT_INSTANCE_BLOCK_SZ);
|
||||
rc = memcmp((const void *)stream_info->endpoint_a.stream_info.ctxinst.ctxinst,
|
||||
(const void *)stream_info->endpoint_b.stream_info.ctxinst.ctxinst,
|
||||
LBM_CONTEXT_INSTANCE_BLOCK_SZ);
|
||||
if (rc <= 0)
|
||||
{
|
||||
swap_endpoints = FALSE;
|
||||
|
|
Loading…
Reference in New Issue