mirror of https://github.com/moparisthebest/curl
sockfilt: suppress conversion warning with explicit cast
MSVC warns when implicitly casting -1 to unsigned long.
This commit is contained in:
parent
70cbefeb5f
commit
0bdb811250
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue