From d6d703b5927b0dd35695851ab5a2fe81e508b82e Mon Sep 17 00:00:00 2001 From: Huw Davies Date: Thu, 14 May 2015 13:45:04 +0100 Subject: [PATCH] ntdll/tests: Fix incorrect prototype. --- dlls/ntdll/tests/port.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/ntdll/tests/port.c b/dlls/ntdll/tests/port.c index e01316b0cbc..9525232ade5 100644 --- a/dlls/ntdll/tests/port.c +++ b/dlls/ntdll/tests/port.c @@ -115,7 +115,7 @@ static UNICODE_STRING port; static HMODULE hntdll = 0; static NTSTATUS (WINAPI *pNtCompleteConnectPort)(HANDLE); static NTSTATUS (WINAPI *pNtAcceptConnectPort)(PHANDLE,ULONG,PLPC_MESSAGE,ULONG, - ULONG,PLPC_SECTION_READ); + PLPC_SECTION_WRITE,PLPC_SECTION_READ); static NTSTATUS (WINAPI *pNtReplyPort)(HANDLE,PLPC_MESSAGE); static NTSTATUS (WINAPI *pNtReplyWaitReceivePort)(PHANDLE,PULONG,PLPC_MESSAGE, PLPC_MESSAGE); @@ -182,7 +182,7 @@ static void ProcessConnectionRequest(union lpc_message *LpcMessage, PHANDLE pAcc ok(!*LpcMessage->msg.Data, "Expected empty string!\n"); } - status = pNtAcceptConnectPort(pAcceptPortHandle, 0, &LpcMessage->msg, 1, 0, NULL); + status = pNtAcceptConnectPort(pAcceptPortHandle, 0, &LpcMessage->msg, 1, NULL, NULL); ok(status == STATUS_SUCCESS, "Expected STATUS_SUCCESS, got %x\n", status); status = pNtCompleteConnectPort(*pAcceptPortHandle);