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
1 changed files with 1 additions and 1 deletions

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);