mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[XMLLITE_WINETEST] Fix stack corruption on 64 bit
This commit is contained in:
parent
c1362c64b0
commit
3d1ca45934
1 changed files with 5 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue