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:
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
Block a user