- Try to fix MSVC build

svn path=/trunk/; revision=57237
This commit is contained in:
Cameron Gutman 2012-09-04 07:42:21 +00:00
parent 458994e118
commit 0a9e0dc0a5
2 changed files with 2 additions and 1 deletions

View file

@ -123,7 +123,6 @@ PVOID LockRequest( PIRP Irp,
}
/* 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)
{

View file

@ -112,6 +112,8 @@ typedef struct _AFD_SEND_INFO_UDP {
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;
ULONG Root;