https://git.reactos.org/?p=reactos.git;a=commitdiff;h=3d1ca459341b12c8cf9a2…
commit 3d1ca459341b12c8cf9a24504b493b372e3c6b21
Author: Timo Kreuzer <timo.kreuzer(a)reactos.org>
AuthorDate: Sun Aug 28 17:40:54 2022 +0200
Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org>
CommitDate: Fri Dec 30 11:19:26 2022 +0100
[XMLLITE_WINETEST] Fix stack corruption on 64 bit
---
modules/rostests/winetests/xmllite/reader.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/modules/rostests/winetests/xmllite/reader.c
b/modules/rostests/winetests/xmllite/reader.c
index 41adad15981..c44fed4c8c0 100644
--- a/modules/rostests/winetests/xmllite/reader.c
+++ b/modules/rostests/winetests/xmllite/reader.c
@@ -537,7 +537,11 @@ static void test_reader_create(void)
IXmlResolver *resolver;
IUnknown *input, *unk;
IXmlReader *reader;
+#ifdef __REACTOS__
+ ULONG_PTR dtd;
+#else
DtdProcessing dtd;
+#endif
XmlNodeType nodetype;
HRESULT hr;
@@ -603,7 +607,7 @@ static void test_reader_create(void)
dtd = 2;
hr = IXmlReader_GetProperty(reader, XmlReaderProperty_DtdProcessing,
(LONG_PTR*)&dtd);
ok(hr == S_OK, "Expected S_OK, got %08x\n", hr);
- ok(dtd == DtdProcessing_Prohibit, "got %d\n", dtd);
+ ok(dtd == DtdProcessing_Prohibit, "got %Id\n", dtd);
dtd = 2;
hr = IXmlReader_SetProperty(reader, XmlReaderProperty_DtdProcessing, dtd);