Nikolay Sivov : msxml3: Remove unneeded cast to xmlDocPtr.
Alexandre Julliard
julliard at winehq.org
Fri Mar 1 12:42:23 CST 2013
Module: wine
Branch: master
Commit: a935a44b441a586e4a8044fa5ad423b532349415
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a935a44b441a586e4a8044fa5ad423b532349415
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Thu Feb 28 22:44:02 2013 +0400
msxml3: Remove unneeded cast to xmlDocPtr.
---
dlls/msxml3/domdoc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/msxml3/domdoc.c b/dlls/msxml3/domdoc.c
index 32e9591..67902bd 100644
--- a/dlls/msxml3/domdoc.c
+++ b/dlls/msxml3/domdoc.c
@@ -632,7 +632,7 @@ HRESULT xmldoc_remove_orphan(xmlDocPtr doc, xmlNodePtr node)
static inline xmlDocPtr get_doc( domdoc *This )
{
- return (xmlDocPtr)This->node.node;
+ return This->node.node->doc;
}
static HRESULT attach_xmldoc(domdoc *This, xmlDocPtr xml )
More information about the wine-cvs
mailing list