Author: tkreuzer
Date: Sun Dec 7 09:15:15 2008
New Revision: 37912
URL:
http://svn.reactos.org/svn/reactos?rev=37912&view=rev
Log:
revert r35657
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] Sun
Dec 7 09:15:15 2008
@@ -96,7 +96,7 @@
ChargenHandler(VOID* sock_)
{
INT retVal = 0;
- SOCKET sock = (SOCKET)(UINT_PTR)sock_;
+ SOCKET sock = (SOCKET)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] Sun
Dec 7 09:15:15 2008
@@ -30,7 +30,7 @@
time_t aclock;
CHAR *pszTime;
DWORD retVal = 0;
- SOCKET Sock = (SOCKET)(UINT_PTR)Sock_;
+ SOCKET Sock = (SOCKET)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] Sun
Dec 7 09:15:15 2008
@@ -44,7 +44,7 @@
DiscardHandler(VOID* sock_)
{
DWORD retVal = 0;
- SOCKET sock = (SOCKET)(UINT_PTR)sock_;
+ SOCKET sock = (SOCKET)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] Sun Dec
7 09:15:15 2008
@@ -69,7 +69,7 @@
EchoHandler(VOID* sock_)
{
DWORD retVal = 0;
- SOCKET sock = (SOCKET)(UINT_PTR)sock_;
+ SOCKET sock = (SOCKET)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] Sun Dec
7 09:15:15 2008
@@ -128,7 +128,7 @@
DWORD WINAPI
QotdHandler(VOID* sock_)
{
- SOCKET sock = (SOCKET)(UINT_PTR)sock_;
+ SOCKET sock = (SOCKET)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] Sun
Dec 7 09:15:15 2008
@@ -95,7 +95,7 @@
if (!bShutdown)
{
- hThread = CreateThread(0, 0, lpService, (PVOID)(UINT_PTR)sock, 0,
NULL);
+ hThread = CreateThread(0, 0, lpService, (void*)sock, 0, NULL);
if (hThread != NULL)
{
CloseHandle(hThread);