diff options
author | Marcel Raad <Marcel.Raad@teamviewer.com> | 2017-07-16 13:28:45 +0200 |
---|---|---|
committer | Marcel Raad <Marcel.Raad@teamviewer.com> | 2017-07-16 13:28:45 +0200 |
commit | 0bdb81125008207c9be90c69ec9393061eaab10b (patch) | |
tree | 9eb01a1232df49f569a9ce2cdee5a24bf0704ae2 /tests | |
parent | 70cbefeb5ffcc57a7bb2de77fdfe2baf864743ea (diff) |
sockfilt: suppress conversion warning with explicit cast
MSVC warns when implicitly casting -1 to unsigned long.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/server/sockfilt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/server/sockfilt.c b/tests/server/sockfilt.c index 42071a5bc..6695d8486 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); |