sync to trunk head (35945)
[reactos.git] / reactos / base / services / tcpsvcs / skelserver.c
index 7d0666d..87b607d 100644 (file)
@@ -95,7 +95,7 @@ AcceptConnections(SOCKET listeningSocket,
 
                     if (!bShutdown)
                     {
-                        hThread = CreateThread(0, 0, lpService, (void*)sock, 0, NULL);
+                        hThread = CreateThread(0, 0, lpService, (PVOID)(UINT_PTR)sock, 0, NULL);
                         if (hThread != NULL)
                         {
                             CloseHandle(hThread);