detect/tls: fix -Wshorten-64-to-32 warnings

Ticket: #6186
pull/13283/head
Philippe Antoine 6 months ago committed by Victor Julien
parent 3c743529b7
commit 465f94fafb

@ -72,7 +72,7 @@ static bool TlsAlpnGetData(DetectEngineThreadCtx *det_ctx, const void *txv, cons
if (SCTLSHandshakeGetALPN(connp->hs, idx, &d)) {
*buf = d.data;
*buf_len = d.len;
*buf_len = (uint32_t)d.len;
return true;
} else {
return false;

Loading…
Cancel
Save