Author: cgutman
Date: Tue Sep 4 07:42:21 2012
New Revision: 57237
URL:
http://svn.reactos.org/svn/reactos?rev=57237&view=rev
Log:
[AFD]
- Try to fix MSVC build
Modified:
trunk/reactos/drivers/network/afd/afd/lock.c
trunk/reactos/include/reactos/drivers/afd/shared.h
Modified: trunk/reactos/drivers/network/afd/afd/lock.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/afd/afd/lo…
==============================================================================
--- trunk/reactos/drivers/network/afd/afd/lock.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/afd/afd/lock.c [iso-8859-1] Tue Sep 4 07:42:21 2012
@@ -123,7 +123,6 @@
}
/* We need to create the info struct that AFD expects for all send/recv
requests */
- C_ASSERT(sizeof(AFD_RECV_INFO) == sizeof(AFD_SEND_INFO));
AfdInfo = ExAllocatePool(NonPagedPool, sizeof(AFD_RECV_INFO) +
sizeof(AFD_WSABUF));
if (!AfdInfo)
{
Modified: trunk/reactos/include/reactos/drivers/afd/shared.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/drivers/af…
==============================================================================
--- trunk/reactos/include/reactos/drivers/afd/shared.h [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/drivers/afd/shared.h [iso-8859-1] Tue Sep 4 07:42:21
2012
@@ -111,6 +111,8 @@
TDI_REQUEST_SEND_DATAGRAM TdiRequest;
TDI_CONNECTION_INFORMATION TdiConnection;
} AFD_SEND_INFO_UDP, *PAFD_SEND_INFO_UDP;
+
+C_ASSERT(sizeof(AFD_RECV_INFO) == sizeof(AFD_SEND_INFO));
typedef struct _AFD_CONNECT_INFO {
BOOLEAN UseSAN;