lib3026 drop redundant casts

This commit is contained in:
Viktor Szakats 2025-09-04 02:30:26 +02:00
parent b85f4aa51c
commit 0277fa0022
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -70,8 +70,8 @@ static CURLcode test_lib3026(const char *URL)
cleanup:
for(i = 0; i < tid_count; i++) {
WaitForSingleObject((HANDLE)thread_handles[i], INFINITE);
CloseHandle((HANDLE)thread_handles[i]);
WaitForSingleObject(thread_handles[i], INFINITE);
CloseHandle(thread_handles[i]);
if(results[i] != CURLE_OK) {
curl_mfprintf(stderr, "%s:%d thread[%u]: curl_global_init() failed,"
"with code %d (%s)\n", __FILE__, __LINE__,