gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 148/208: sockfilt: suppress conversion warning with


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 148/208: sockfilt: suppress conversion warning with explicit cast
Date: Wed, 09 Aug 2017 17:35:45 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to annotated tag gnurl-7.55.0
in repository gnurl.

commit 0bdb81125008207c9be90c69ec9393061eaab10b
Author: Marcel Raad <address@hidden>
AuthorDate: Sun Jul 16 13:28:45 2017 +0200

    sockfilt: suppress conversion warning with explicit cast
    
    MSVC warns when implicitly casting -1 to unsigned long.
---
 tests/server/sockfilt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]