1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

sockfilt: suppress conversion warning with explicit cast

MSVC warns when implicitly casting -1 to unsigned long.
This commit is contained in:
Marcel Raad 2017-07-16 13:28:45 +02:00
parent 70cbefeb5f
commit 0bdb811250
No known key found for this signature in database
GPG Key ID: 07ADACB610D796DA

View File

@ -549,7 +549,7 @@ static DWORD WINAPI select_ws_wait_thread(LPVOID lpParameter)
free(data);
}
else
return -1;
return (DWORD)-1;
/* retrieve the type of file to wait on */
type = GetFileType(handle);