Andrew Talbot : msxml3: Cast-qual warning fix.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Jul 25 07:44:11 CDT 2007


Module: wine
Branch: master
Commit: 11904c80fa5029fab9b608cf22d9fe11877b782b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=11904c80fa5029fab9b608cf22d9fe11877b782b

Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date:   Tue Jul 24 19:16:09 2007 +0100

msxml3: Cast-qual warning fix.

---

 dlls/msxml3/xmlelem.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/msxml3/xmlelem.c b/dlls/msxml3/xmlelem.c
index cf2a21a..bd3c8a6 100644
--- a/dlls/msxml3/xmlelem.c
+++ b/dlls/msxml3/xmlelem.c
@@ -229,7 +229,7 @@ static HRESULT WINAPI xmlelem_getAttribute(IXMLElement *iface, BSTR strPropertyN
     ptr = This->node->properties;
     while (ptr)
     {
-        if (!lstrcmpiA((LPSTR)name, (LPSTR)ptr->name))
+        if (!lstrcmpiA((LPSTR)name, (LPCSTR)ptr->name))
         {
             val = xmlNodeListGetString(ptr->doc, ptr->children, 1);
             break;




More information about the wine-cvs mailing list