msxml3: Change the remaining long variables to LONG.

This commit is contained in:
Michael Stefaniuc 2009-03-09 23:28:53 +01:00 committed by Alexandre Julliard
parent de68b01e8c
commit 947bf5834f
7 changed files with 19 additions and 19 deletions

View File

@ -522,7 +522,7 @@ static HRESULT WINAPI domcdata_get_length(
domcdata *This = impl_from_IXMLDOMCDATASection( iface ); domcdata *This = impl_from_IXMLDOMCDATASection( iface );
xmlnode *pDOMNode = impl_from_IXMLDOMNode( This->node ); xmlnode *pDOMNode = impl_from_IXMLDOMNode( This->node );
xmlChar *pContent; xmlChar *pContent;
long nLength = 0; LONG nLength = 0;
TRACE("%p\n", iface); TRACE("%p\n", iface);
@ -548,7 +548,7 @@ static HRESULT WINAPI domcdata_substringData(
domcdata *This = impl_from_IXMLDOMCDATASection( iface ); domcdata *This = impl_from_IXMLDOMCDATASection( iface );
xmlnode *pDOMNode = impl_from_IXMLDOMNode( This->node ); xmlnode *pDOMNode = impl_from_IXMLDOMNode( This->node );
xmlChar *pContent; xmlChar *pContent;
long nLength = 0; LONG nLength = 0;
HRESULT hr = S_FALSE; HRESULT hr = S_FALSE;
TRACE("%p\n", iface); TRACE("%p\n", iface);
@ -625,7 +625,7 @@ static HRESULT WINAPI domcdata_insertData(
xmlChar *pXmlContent; xmlChar *pXmlContent;
BSTR sNewString; BSTR sNewString;
HRESULT hr = S_FALSE; HRESULT hr = S_FALSE;
long nLength = 0, nLengthP = 0; LONG nLength = 0, nLengthP = 0;
xmlChar *str = NULL; xmlChar *str = NULL;
TRACE("%p\n", This); TRACE("%p\n", This);

View File

@ -516,7 +516,7 @@ static HRESULT WINAPI domcomment_get_length(
domcomment *This = impl_from_IXMLDOMComment( iface ); domcomment *This = impl_from_IXMLDOMComment( iface );
xmlnode *pDOMNode = impl_from_IXMLDOMNode( This->node ); xmlnode *pDOMNode = impl_from_IXMLDOMNode( This->node );
xmlChar *pContent; xmlChar *pContent;
long nLength = 0; LONG nLength = 0;
TRACE("%p\n", iface); TRACE("%p\n", iface);
@ -542,7 +542,7 @@ static HRESULT WINAPI domcomment_substringData(
domcomment *This = impl_from_IXMLDOMComment( iface ); domcomment *This = impl_from_IXMLDOMComment( iface );
xmlnode *pDOMNode = impl_from_IXMLDOMNode( This->node ); xmlnode *pDOMNode = impl_from_IXMLDOMNode( This->node );
xmlChar *pContent; xmlChar *pContent;
long nLength = 0; LONG nLength = 0;
HRESULT hr = S_FALSE; HRESULT hr = S_FALSE;
TRACE("%p\n", iface); TRACE("%p\n", iface);
@ -633,7 +633,7 @@ static HRESULT WINAPI domcomment_insertData(
xmlChar *pXmlContent; xmlChar *pXmlContent;
BSTR sNewString; BSTR sNewString;
HRESULT hr = S_FALSE; HRESULT hr = S_FALSE;
long nLength = 0, nLengthP = 0; LONG nLength = 0, nLengthP = 0;
xmlChar *str = NULL; xmlChar *str = NULL;
TRACE("%p\n", This); TRACE("%p\n", This);

View File

@ -203,7 +203,7 @@ static HRESULT WINAPI xmlnodelist_get_item(
{ {
xmlnodelist *This = impl_from_IXMLDOMNodeList( iface ); xmlnodelist *This = impl_from_IXMLDOMNodeList( iface );
xmlNodePtr curr; xmlNodePtr curr;
long nodeIndex = 0; LONG nodeIndex = 0;
TRACE("%p %d\n", This, index); TRACE("%p %d\n", This, index);
@ -234,7 +234,7 @@ static HRESULT WINAPI xmlnodelist_get_length(
{ {
xmlNodePtr curr; xmlNodePtr curr;
long nodeCount = 0; LONG nodeCount = 0;
xmlnodelist *This = impl_from_IXMLDOMNodeList( iface ); xmlnodelist *This = impl_from_IXMLDOMNodeList( iface );

View File

@ -44,7 +44,7 @@ typedef struct _xmlnodemap
const struct ISupportErrorInfoVtbl *lpSEIVtbl; const struct ISupportErrorInfoVtbl *lpSEIVtbl;
LONG ref; LONG ref;
IXMLDOMNode *node; IXMLDOMNode *node;
long iterator; LONG iterator;
} xmlnodemap; } xmlnodemap;
static inline xmlnodemap *impl_from_IXMLDOMNamedNodeMap( IXMLDOMNamedNodeMap *iface ) static inline xmlnodemap *impl_from_IXMLDOMNamedNodeMap( IXMLDOMNamedNodeMap *iface )
@ -335,7 +335,7 @@ static HRESULT WINAPI xmlnodemap_get_item(
xmlnodemap *This = impl_from_IXMLDOMNamedNodeMap( iface ); xmlnodemap *This = impl_from_IXMLDOMNamedNodeMap( iface );
xmlNodePtr node; xmlNodePtr node;
xmlAttrPtr curr; xmlAttrPtr curr;
long attrIndex; LONG attrIndex;
TRACE("%p %d\n", This, index); TRACE("%p %d\n", This, index);
@ -366,7 +366,7 @@ static HRESULT WINAPI xmlnodemap_get_length(
xmlNodePtr node; xmlNodePtr node;
xmlAttrPtr first; xmlAttrPtr first;
xmlAttrPtr curr; xmlAttrPtr curr;
long attrCount; LONG attrCount;
xmlnodemap *This = impl_from_IXMLDOMNamedNodeMap( iface ); xmlnodemap *This = impl_from_IXMLDOMNamedNodeMap( iface );
@ -423,9 +423,9 @@ static HRESULT WINAPI xmlnodemap_nextNode(
xmlnodemap *This = impl_from_IXMLDOMNamedNodeMap( iface ); xmlnodemap *This = impl_from_IXMLDOMNamedNodeMap( iface );
xmlNodePtr node; xmlNodePtr node;
xmlAttrPtr curr; xmlAttrPtr curr;
long attrIndex; LONG attrIndex;
TRACE("%p %ld\n", This, This->iterator); TRACE("%p %d\n", This, This->iterator);
*nextItem = NULL; *nextItem = NULL;
@ -451,7 +451,7 @@ static HRESULT WINAPI xmlnodemap_reset(
{ {
xmlnodemap *This = impl_from_IXMLDOMNamedNodeMap( iface ); xmlnodemap *This = impl_from_IXMLDOMNamedNodeMap( iface );
TRACE("%p %ld\n", This, This->iterator); TRACE("%p %d\n", This, This->iterator);
This->iterator = 0; This->iterator = 0;

View File

@ -524,7 +524,7 @@ static HRESULT WINAPI domtext_get_length(
domtext *This = impl_from_IXMLDOMText( iface ); domtext *This = impl_from_IXMLDOMText( iface );
xmlnode *pDOMNode = impl_from_IXMLDOMNode( This->node ); xmlnode *pDOMNode = impl_from_IXMLDOMNode( This->node );
xmlChar *pContent; xmlChar *pContent;
long nLength = 0; LONG nLength = 0;
TRACE("%p\n", iface); TRACE("%p\n", iface);
@ -550,7 +550,7 @@ static HRESULT WINAPI domtext_substringData(
domtext *This = impl_from_IXMLDOMText( iface ); domtext *This = impl_from_IXMLDOMText( iface );
xmlnode *pDOMNode = impl_from_IXMLDOMNode( This->node ); xmlnode *pDOMNode = impl_from_IXMLDOMNode( This->node );
xmlChar *pContent; xmlChar *pContent;
long nLength = 0; LONG nLength = 0;
HRESULT hr = S_FALSE; HRESULT hr = S_FALSE;
TRACE("%p\n", iface); TRACE("%p\n", iface);
@ -627,7 +627,7 @@ static HRESULT WINAPI domtext_insertData(
xmlChar *pXmlContent; xmlChar *pXmlContent;
BSTR sNewString; BSTR sNewString;
HRESULT hr = S_FALSE; HRESULT hr = S_FALSE;
long nLength = 0, nLengthP = 0; LONG nLength = 0, nLengthP = 0;
xmlChar *str = NULL; xmlChar *str = NULL;
TRACE("%p\n", This); TRACE("%p\n", This);

View File

@ -455,7 +455,7 @@ static HRESULT WINAPI xmldoc_get_dtdURl(IXMLDocument *iface, BSTR *p)
return E_NOTIMPL; return E_NOTIMPL;
} }
static xmlElementType type_msxml_to_libxml(long type) static xmlElementType type_msxml_to_libxml(LONG type)
{ {
switch (type) switch (type)
{ {

View File

@ -333,7 +333,7 @@ static HRESULT WINAPI xmlelem_get_children(IXMLElement *iface, IXMLElementCollec
return XMLElementCollection_create((IUnknown *)iface, This->node->children, (LPVOID *)p); 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) switch (type)
{ {