- Fix build
authorCameron Gutman <aicommander@gmail.com>
Fri, 16 Oct 2009 04:41:40 +0000 (04:41 +0000)
committerCameron Gutman <aicommander@gmail.com>
Fri, 16 Oct 2009 04:41:40 +0000 (04:41 +0000)
svn path=/trunk/; revision=43511

reactos/dll/win32/ws2_32_new/src/getxbyxx.c

index 1c9da67..53489e0 100644 (file)
@@ -103,7 +103,7 @@ WSAAPI
 getxyDataEnt(IN OUT PCHAR *Results,
              IN DWORD Length,
              IN LPSTR Name,
-             IN LPGUID Type,
+             IN LPCGUID Type,
              IN LPSTR *NewName)
 {
     PWSAQUERYSETA WsaQuery = (PWSAQUERYSETA)*Results;
@@ -119,7 +119,7 @@ getxyDataEnt(IN OUT PCHAR *Results,
     RtlZeroMemory(WsaQuery, sizeof(*WsaQuery));
     WsaQuery->dwSize = sizeof(*WsaQuery);
     WsaQuery->lpszServiceInstanceName = Name;
-    WsaQuery->lpServiceClassId = Type;
+    WsaQuery->lpServiceClassId = (LPGUID)Type;
     WsaQuery->dwNameSpace = NS_ALL;
     WsaQuery->dwNumberOfProtocols = 2;
     WsaQuery->lpafpProtocols = &afp[0];