https://git.reactos.org/?p=reactos.git;a=commitdiff;h=0197a5bcae9ac32541285…
commit 0197a5bcae9ac325412850a83aa66c49d132864a
Author: Serge Gautherie <reactos-git_serge_171003(a)gautherie.fr>
AuthorDate: Mon May 24 08:56:17 2021 +0200
Commit: Stanislav Motylkov <x86corez(a)gmail.com>
CommitDate: Sat Aug 31 18:30:16 2024 +0300
[XMLLITE_WINETEST] Fully mark Wine diff
Addendum to 3d1ca45 (0.4.15-dev-5553).
---
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 c44fed4c8c0..f9b67a37835 100644
--- a/modules/rostests/winetests/xmllite/reader.c
+++ b/modules/rostests/winetests/xmllite/reader.c
@@ -538,7 +538,7 @@ static void test_reader_create(void)
IUnknown *input, *unk;
IXmlReader *reader;
#ifdef __REACTOS__
- ULONG_PTR dtd;
+ LONG_PTR dtd;
#else
DtdProcessing dtd;
#endif
@@ -607,7 +607,11 @@ 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);
+#ifdef __REACTOS__
ok(dtd == DtdProcessing_Prohibit, "got %Id\n", dtd);
+#else
+ ok(dtd == DtdProcessing_Prohibit, "got %d\n", dtd);
+#endif
dtd = 2;
hr = IXmlReader_SetProperty(reader, XmlReaderProperty_DtdProcessing, dtd);