Author: tkreuzer
Date: Sun May 24 14:43:30 2009
New Revision: 41097
URL:
http://svn.reactos.org/svn/reactos?rev=41097&view=rev
Log:
Fix pointer to DWORD cast. I also sent it to tftp on sourceforge.
Modified:
branches/ros-amd64-bringup/reactos/base/services/tftpd/tftpd.cpp
Modified: branches/ros-amd64-bringup/reactos/base/services/tftpd/tftpd.cpp
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/base/…
==============================================================================
--- branches/ros-amd64-bringup/reactos/base/services/tftpd/tftpd.cpp [iso-8859-1]
(original)
+++ branches/ros-amd64-bringup/reactos/base/services/tftpd/tftpd.cpp [iso-8859-1] Sun May
24 14:43:30 2009
@@ -938,7 +938,7 @@
continue;
errno = 0;
- req.bytesReady = (DWORD)outPtr - (DWORD)&req.mesout;
+ req.bytesReady = (DWORD_PTR)outPtr - (DWORD_PTR)&req.mesout;
//printf("Bytes Ready=%u\n", req.bytesReady);
send(req.sock, (const char*)&req.mesout, req.bytesReady, 0);
errno = WSAGetLastError();