From: Marcel Raad Date: Sun, 16 Jul 2017 11:28:45 +0000 (+0200) Subject: sockfilt: suppress conversion warning with explicit cast X-Git-Tag: curl-7_55_0~59 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0bdb81125008207c9be90c69ec9393061eaab10b;p=thirdparty%2Fcurl.git sockfilt: suppress conversion warning with explicit cast MSVC warns when implicitly casting -1 to unsigned long. --- diff --git a/tests/server/sockfilt.c b/tests/server/sockfilt.c index 42071a5bc4..6695d8486c 100644 --- a/tests/server/sockfilt.c +++ b/tests/server/sockfilt.c @@ -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);