[CSRSRV]: Less PPORT_MESSAGE casts.
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 6 Oct 2013 00:04:18 +0000 (00:04 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 6 Oct 2013 00:04:18 +0000 (00:04 +0000)
svn path=/trunk/; revision=60555

reactos/subsystems/win32/csrsrv/session.c

index a06d94a..20c7204 100644 (file)
@@ -443,7 +443,7 @@ CsrSbApiHandleConnectionRequest(IN PSB_API_MSG Message)
     /* Accept the connection */
     Status = NtAcceptConnectPort(&hPort,
                                  NULL,
-                                 (PPORT_MESSAGE)Message,
+                                 &Message->h,
                                  TRUE,
                                  NULL,
                                  &RemotePortView);