Author: sserapion
Date: Mon Aug 25 23:12:02 2008
New Revision: 35657
URL:
http://svn.reactos.org/svn/reactos?rev=35657&view=rev
Log:
Fix tcpsvcs build.
Modified:
branches/ros-amd64-bringup/reactos/base/services/tcpsvcs/chargen.c
branches/ros-amd64-bringup/reactos/base/services/tcpsvcs/daytime.c
branches/ros-amd64-bringup/reactos/base/services/tcpsvcs/discard.c
branches/ros-amd64-bringup/reactos/base/services/tcpsvcs/echo.c
branches/ros-amd64-bringup/reactos/base/services/tcpsvcs/qotd.c
branches/ros-amd64-bringup/reactos/base/services/tcpsvcs/skelserver.c
Modified: branches/ros-amd64-bringup/reactos/base/services/tcpsvcs/chargen.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/base/…
==============================================================================
--- branches/ros-amd64-bringup/reactos/base/services/tcpsvcs/chargen.c [iso-8859-1]
(original)
+++ branches/ros-amd64-bringup/reactos/base/services/tcpsvcs/chargen.c [iso-8859-1] Mon
Aug 25 23:12:02 2008
@@ -96,7 +96,7 @@
ChargenHandler(VOID* sock_)
{
INT retVal = 0;
- SOCKET sock = (SOCKET)sock_;
+ SOCKET sock = (SOCKET)(UINT_PTR)sock_;
if (!GenerateChars(sock))
{
Modified: branches/ros-amd64-bringup/reactos/base/services/tcpsvcs/daytime.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/base/…
==============================================================================
--- branches/ros-amd64-bringup/reactos/base/services/tcpsvcs/daytime.c [iso-8859-1]
(original)
+++ branches/ros-amd64-bringup/reactos/base/services/tcpsvcs/daytime.c [iso-8859-1] Mon
Aug 25 23:12:02 2008
@@ -30,7 +30,7 @@
time_t aclock;
CHAR *pszTime;
DWORD retVal = 0;
- SOCKET Sock = (SOCKET)Sock_;
+ SOCKET Sock = (SOCKET)(UINT_PTR)Sock_;
time(&aclock);
localTime = localtime(&aclock);
Modified: branches/ros-amd64-bringup/reactos/base/services/tcpsvcs/discard.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/base/…
==============================================================================
--- branches/ros-amd64-bringup/reactos/base/services/tcpsvcs/discard.c [iso-8859-1]
(original)
+++ branches/ros-amd64-bringup/reactos/base/services/tcpsvcs/discard.c [iso-8859-1] Mon
Aug 25 23:12:02 2008
@@ -44,7 +44,7 @@
DiscardHandler(VOID* sock_)
{
DWORD retVal = 0;
- SOCKET sock = (SOCKET)sock_;
+ SOCKET sock = (SOCKET)(UINT_PTR)sock_;
if (!RecieveIncomingPackets(sock))
{
Modified: branches/ros-amd64-bringup/reactos/base/services/tcpsvcs/echo.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/base/…
==============================================================================
--- branches/ros-amd64-bringup/reactos/base/services/tcpsvcs/echo.c [iso-8859-1]
(original)
+++ branches/ros-amd64-bringup/reactos/base/services/tcpsvcs/echo.c [iso-8859-1] Mon Aug
25 23:12:02 2008
@@ -69,7 +69,7 @@
EchoHandler(VOID* sock_)
{
DWORD retVal = 0;
- SOCKET sock = (SOCKET)sock_;
+ SOCKET sock = (SOCKET)(UINT_PTR)sock_;
if (!EchoIncomingPackets(sock))
{
Modified: branches/ros-amd64-bringup/reactos/base/services/tcpsvcs/qotd.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/base/…
==============================================================================
--- branches/ros-amd64-bringup/reactos/base/services/tcpsvcs/qotd.c [iso-8859-1]
(original)
+++ branches/ros-amd64-bringup/reactos/base/services/tcpsvcs/qotd.c [iso-8859-1] Mon Aug
25 23:12:02 2008
@@ -128,7 +128,7 @@
DWORD WINAPI
QotdHandler(VOID* sock_)
{
- SOCKET sock = (SOCKET)sock_;
+ SOCKET sock = (SOCKET)(UINT_PTR)sock_;
DWORD retVal = 0;
if (!RetrieveQuote(sock))
Modified: branches/ros-amd64-bringup/reactos/base/services/tcpsvcs/skelserver.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/base/…
==============================================================================
--- branches/ros-amd64-bringup/reactos/base/services/tcpsvcs/skelserver.c [iso-8859-1]
(original)
+++ branches/ros-amd64-bringup/reactos/base/services/tcpsvcs/skelserver.c [iso-8859-1] Mon
Aug 25 23:12:02 2008
@@ -95,7 +95,7 @@
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);