Commit 979c9db3 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

msxml3: Remove useless casts to self.

parent 0c738d90
...@@ -759,7 +759,7 @@ static HRESULT BindStatusCallback_create(httprequest* This, BindStatusCallback * ...@@ -759,7 +759,7 @@ static HRESULT BindStatusCallback_create(httprequest* This, BindStatusCallback *
case VT_ARRAY|VT_UI1: case VT_ARRAY|VT_UI1:
{ {
sa = V_ARRAY(body); sa = V_ARRAY(body);
if ((hr = SafeArrayAccessData(sa, (void **)&ptr)) != S_OK) if ((hr = SafeArrayAccessData(sa, &ptr)) != S_OK)
{ {
heap_free(bsc); heap_free(bsc);
return hr; return hr;
......
...@@ -1217,7 +1217,7 @@ static HRESULT node_transform_write(xsltStylesheetPtr style, xmlDocPtr result, B ...@@ -1217,7 +1217,7 @@ static HRESULT node_transform_write(xsltStylesheetPtr style, xmlDocPtr result, B
htmlSetMetaEncoding(result, (const xmlChar *)encoding); htmlSetMetaEncoding(result, (const xmlChar *)encoding);
if (indent == -1) if (indent == -1)
indent = 1; indent = 1;
htmldoc_dumpcontent(output, result, (const char*)encoding, indent); htmldoc_dumpcontent(output, result, encoding, indent);
} }
else if (method && xmlStrEqual(method, (const xmlChar *)"xhtml")) else if (method && xmlStrEqual(method, (const xmlChar *)"xhtml"))
{ {
......
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