diff --git a/dlls/msxml3/cdata.c b/dlls/msxml3/cdata.c index 52548b2d512..3d3c87514b9 100644 --- a/dlls/msxml3/cdata.c +++ b/dlls/msxml3/cdata.c @@ -522,7 +522,7 @@ static HRESULT WINAPI domcdata_get_length( domcdata *This = impl_from_IXMLDOMCDATASection( iface ); xmlnode *pDOMNode = impl_from_IXMLDOMNode( This->node ); xmlChar *pContent; - long nLength = 0; + LONG nLength = 0; TRACE("%p\n", iface); @@ -548,7 +548,7 @@ static HRESULT WINAPI domcdata_substringData( domcdata *This = impl_from_IXMLDOMCDATASection( iface ); xmlnode *pDOMNode = impl_from_IXMLDOMNode( This->node ); xmlChar *pContent; - long nLength = 0; + LONG nLength = 0; HRESULT hr = S_FALSE; TRACE("%p\n", iface); @@ -625,7 +625,7 @@ static HRESULT WINAPI domcdata_insertData( xmlChar *pXmlContent; BSTR sNewString; HRESULT hr = S_FALSE; - long nLength = 0, nLengthP = 0; + LONG nLength = 0, nLengthP = 0; xmlChar *str = NULL; TRACE("%p\n", This); diff --git a/dlls/msxml3/comment.c b/dlls/msxml3/comment.c index a29e3d59d9c..717c73d0c45 100644 --- a/dlls/msxml3/comment.c +++ b/dlls/msxml3/comment.c @@ -516,7 +516,7 @@ static HRESULT WINAPI domcomment_get_length( domcomment *This = impl_from_IXMLDOMComment( iface ); xmlnode *pDOMNode = impl_from_IXMLDOMNode( This->node ); xmlChar *pContent; - long nLength = 0; + LONG nLength = 0; TRACE("%p\n", iface); @@ -542,7 +542,7 @@ static HRESULT WINAPI domcomment_substringData( domcomment *This = impl_from_IXMLDOMComment( iface ); xmlnode *pDOMNode = impl_from_IXMLDOMNode( This->node ); xmlChar *pContent; - long nLength = 0; + LONG nLength = 0; HRESULT hr = S_FALSE; TRACE("%p\n", iface); @@ -633,7 +633,7 @@ static HRESULT WINAPI domcomment_insertData( xmlChar *pXmlContent; BSTR sNewString; HRESULT hr = S_FALSE; - long nLength = 0, nLengthP = 0; + LONG nLength = 0, nLengthP = 0; xmlChar *str = NULL; TRACE("%p\n", This); diff --git a/dlls/msxml3/nodelist.c b/dlls/msxml3/nodelist.c index 45b127160ea..e4ae604a5b9 100644 --- a/dlls/msxml3/nodelist.c +++ b/dlls/msxml3/nodelist.c @@ -203,7 +203,7 @@ static HRESULT WINAPI xmlnodelist_get_item( { xmlnodelist *This = impl_from_IXMLDOMNodeList( iface ); xmlNodePtr curr; - long nodeIndex = 0; + LONG nodeIndex = 0; TRACE("%p %d\n", This, index); @@ -234,7 +234,7 @@ static HRESULT WINAPI xmlnodelist_get_length( { xmlNodePtr curr; - long nodeCount = 0; + LONG nodeCount = 0; xmlnodelist *This = impl_from_IXMLDOMNodeList( iface ); diff --git a/dlls/msxml3/nodemap.c b/dlls/msxml3/nodemap.c index 1fa48ab2dd1..825abef3149 100644 --- a/dlls/msxml3/nodemap.c +++ b/dlls/msxml3/nodemap.c @@ -44,7 +44,7 @@ typedef struct _xmlnodemap const struct ISupportErrorInfoVtbl *lpSEIVtbl; LONG ref; IXMLDOMNode *node; - long iterator; + LONG iterator; } xmlnodemap; static inline xmlnodemap *impl_from_IXMLDOMNamedNodeMap( IXMLDOMNamedNodeMap *iface ) @@ -335,7 +335,7 @@ static HRESULT WINAPI xmlnodemap_get_item( xmlnodemap *This = impl_from_IXMLDOMNamedNodeMap( iface ); xmlNodePtr node; xmlAttrPtr curr; - long attrIndex; + LONG attrIndex; TRACE("%p %d\n", This, index); @@ -366,7 +366,7 @@ static HRESULT WINAPI xmlnodemap_get_length( xmlNodePtr node; xmlAttrPtr first; xmlAttrPtr curr; - long attrCount; + LONG attrCount; xmlnodemap *This = impl_from_IXMLDOMNamedNodeMap( iface ); @@ -423,9 +423,9 @@ static HRESULT WINAPI xmlnodemap_nextNode( xmlnodemap *This = impl_from_IXMLDOMNamedNodeMap( iface ); xmlNodePtr node; xmlAttrPtr curr; - long attrIndex; + LONG attrIndex; - TRACE("%p %ld\n", This, This->iterator); + TRACE("%p %d\n", This, This->iterator); *nextItem = NULL; @@ -451,7 +451,7 @@ static HRESULT WINAPI xmlnodemap_reset( { xmlnodemap *This = impl_from_IXMLDOMNamedNodeMap( iface ); - TRACE("%p %ld\n", This, This->iterator); + TRACE("%p %d\n", This, This->iterator); This->iterator = 0; diff --git a/dlls/msxml3/text.c b/dlls/msxml3/text.c index 60c5f23e95b..0e231994d69 100644 --- a/dlls/msxml3/text.c +++ b/dlls/msxml3/text.c @@ -524,7 +524,7 @@ static HRESULT WINAPI domtext_get_length( domtext *This = impl_from_IXMLDOMText( iface ); xmlnode *pDOMNode = impl_from_IXMLDOMNode( This->node ); xmlChar *pContent; - long nLength = 0; + LONG nLength = 0; TRACE("%p\n", iface); @@ -550,7 +550,7 @@ static HRESULT WINAPI domtext_substringData( domtext *This = impl_from_IXMLDOMText( iface ); xmlnode *pDOMNode = impl_from_IXMLDOMNode( This->node ); xmlChar *pContent; - long nLength = 0; + LONG nLength = 0; HRESULT hr = S_FALSE; TRACE("%p\n", iface); @@ -627,7 +627,7 @@ static HRESULT WINAPI domtext_insertData( xmlChar *pXmlContent; BSTR sNewString; HRESULT hr = S_FALSE; - long nLength = 0, nLengthP = 0; + LONG nLength = 0, nLengthP = 0; xmlChar *str = NULL; TRACE("%p\n", This); diff --git a/dlls/msxml3/xmldoc.c b/dlls/msxml3/xmldoc.c index 174be2fe995..1a8c89404c5 100644 --- a/dlls/msxml3/xmldoc.c +++ b/dlls/msxml3/xmldoc.c @@ -455,7 +455,7 @@ static HRESULT WINAPI xmldoc_get_dtdURl(IXMLDocument *iface, BSTR *p) return E_NOTIMPL; } -static xmlElementType type_msxml_to_libxml(long type) +static xmlElementType type_msxml_to_libxml(LONG type) { switch (type) { diff --git a/dlls/msxml3/xmlelem.c b/dlls/msxml3/xmlelem.c index b7b0f296921..93cc53a2047 100644 --- a/dlls/msxml3/xmlelem.c +++ b/dlls/msxml3/xmlelem.c @@ -333,7 +333,7 @@ static HRESULT WINAPI xmlelem_get_children(IXMLElement *iface, IXMLElementCollec return XMLElementCollection_create((IUnknown *)iface, This->node->children, (LPVOID *)p); } -static long type_libxml_to_msxml(xmlElementType type) +static LONG type_libxml_to_msxml(xmlElementType type) { switch (type) {