From cfcd19b9941f314cded25b1113d1af3081690e67 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sat, 25 Jul 2026 00:11:21 +0200 Subject: [PATCH] schannel.c drop redundant parentheses --- lib/vtls/schannel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/vtls/schannel.c b/lib/vtls/schannel.c index 583c87222d..88d7ccec88 100644 --- a/lib/vtls/schannel.c +++ b/lib/vtls/schannel.c @@ -921,7 +921,7 @@ static CURLcode schannel_connect_step1(struct Curl_cfilter *cf, /* The first four bytes is an unsigned int indicating number of bytes of data in the rest of the buffer. */ - extension_len = (unsigned int *)(void *)(&alpn_buffer[cur]); + extension_len = (unsigned int *)(void *)&alpn_buffer[cur]; cur += (int)sizeof(unsigned int); /* The next four bytes are an indicator that this buffer contains @@ -932,7 +932,7 @@ static CURLcode schannel_connect_step1(struct Curl_cfilter *cf, /* The next two bytes is an unsigned short indicating the number of bytes used to list the preferred protocols. */ - list_len = (unsigned short *)(void *)(&alpn_buffer[cur]); + list_len = (unsigned short *)(void *)&alpn_buffer[cur]; cur += (int)sizeof(unsigned short); list_start_index = cur;