[PATCH] ntdll: Fix RtlAssert() prototype
Nikolay Sivov
nsivov at codeweavers.com
Tue Nov 29 00:50:19 CST 2016
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
dlls/ntdll/ntdll.spec | 2 +-
dlls/ntdll/rtl.c | 5 +++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/dlls/ntdll/ntdll.spec b/dlls/ntdll/ntdll.spec
index 4fd944e..57f00c0 100644
--- a/dlls/ntdll/ntdll.spec
+++ b/dlls/ntdll/ntdll.spec
@@ -448,7 +448,7 @@
@ stdcall RtlAreBitsClear(ptr long long)
@ stdcall RtlAreBitsSet(ptr long long)
# @ stub RtlAssert2
-@ stdcall RtlAssert(ptr ptr long long)
+@ stdcall RtlAssert(ptr ptr long str)
# @ stub RtlCancelTimer
@ stdcall -norelay RtlCaptureContext(ptr)
@ stdcall RtlCaptureStackBackTrace(long long ptr ptr)
diff --git a/dlls/ntdll/rtl.c b/dlls/ntdll/rtl.c
index 3e985d5..c309e10 100644
--- a/dlls/ntdll/rtl.c
+++ b/dlls/ntdll/rtl.c
@@ -564,9 +564,10 @@ void WINAPI RtlCopyMemory(void *dest, const void *src, SIZE_T len)
* NOTES
* Not implemented in non-debug versions.
*/
-void WINAPI RtlAssert(LPVOID x1,LPVOID x2,DWORD x3, DWORD x4)
+void WINAPI RtlAssert(void *assertion, void *filename, ULONG linenumber, char *message)
{
- FIXME("(%p,%p,0x%08x,0x%08x),stub\n",x1,x2,x3,x4);
+ FIXME("(%s, %s, %u, %s): stub\n", debugstr_a((char*)assertion), debugstr_a((char*)filename),
+ linenumber, debugstr_a(message));
}
/*************************************************************************
--
2.10.2
More information about the wine-patches
mailing list