Commit 42e681e3 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

xmllite/tests: Fix stack corruption in 64-bit builds.

parent cdd932a0
...@@ -233,12 +233,12 @@ static const char *type_to_str(XmlNodeType type) ...@@ -233,12 +233,12 @@ static const char *type_to_str(XmlNodeType type)
static void test_read_state_(IXmlReader *reader, XmlReadState expected, static void test_read_state_(IXmlReader *reader, XmlReadState expected,
XmlReadState exp_broken, BOOL todo, int line) XmlReadState exp_broken, BOOL todo, int line)
{ {
XmlReadState state; LONG_PTR state;
HRESULT hr; HRESULT hr;
BOOL broken_state; BOOL broken_state;
state = -1; /* invalid value */ state = -1; /* invalid value */
hr = IXmlReader_GetProperty(reader, XmlReaderProperty_ReadState, (LONG_PTR*)&state); hr = IXmlReader_GetProperty(reader, XmlReaderProperty_ReadState, &state);
ok_(__FILE__, line)(hr == S_OK, "Expected S_OK, got %08x\n", hr); ok_(__FILE__, line)(hr == S_OK, "Expected S_OK, got %08x\n", hr);
if (exp_broken == -1) if (exp_broken == -1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment