clang-tidy: add missing parentheses to debug macro arguments

Follow-up to 139307865a #20647

Closes #20674
This commit is contained in:
Viktor Szakats 2026-02-22 13:10:32 +01:00
parent 25512ab34e
commit e009beab89
No known key found for this signature in database

View File

@ -1411,10 +1411,10 @@ CURL_EXTERN ALLOC_FUNC FILE *curl_dbg_fdopen(int filedes, const char *mode,
#define CURL_FREEADDRINFO(data) \
curl_dbg_freeaddrinfo(data, __LINE__, __FILE__)
#define CURL_SOCKET(domain, type, protocol) \
curl_dbg_socket((int)domain, type, protocol, __LINE__, __FILE__)
curl_dbg_socket((int)(domain), type, protocol, __LINE__, __FILE__)
#ifdef HAVE_SOCKETPAIR
#define CURL_SOCKETPAIR(domain, type, protocol, socket_vector) \
curl_dbg_socketpair((int)domain, type, protocol, socket_vector, \
curl_dbg_socketpair((int)(domain), type, protocol, socket_vector, \
__LINE__, __FILE__)
#endif
#define CURL_ACCEPT(sock, addr, len) \