update for HEAD-2003021201
[reactos.git] / lib / ws2_32 / misc / upcall.c
index 227f59e..c9e9fc8 100644 (file)
@@ -9,6 +9,7 @@
  */
 #include <ws2_32.h>
 #include <catalog.h>
+#include <handle.h>
 
 BOOL
 WSPAPI
@@ -118,7 +119,7 @@ WPUModifyIFSHandle(
   }
 
   Socket = (SOCKET)CreateProviderHandle(
-    ProposedHandle,
+    (HANDLE)ProposedHandle,
     Provider);
 
   *lpErrno = NO_ERROR;