msxml3: Win64 printf format warning fixes.

This commit is contained in:
Michael Stefaniuc 2006-10-05 00:58:11 +02:00 committed by Alexandre Julliard
parent 36063b7dc1
commit 7ff24491d9
4 changed files with 10 additions and 10 deletions

View File

@ -1,4 +1,4 @@
EXTRADEFS = -DCOM_NO_WINDOWS_H -DWINE_NO_LONG_AS_INT EXTRADEFS = -DCOM_NO_WINDOWS_H
TOPSRCDIR = @top_srcdir@ TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../.. TOPOBJDIR = ../..
SRCDIR = @srcdir@ SRCDIR = @srcdir@

View File

@ -174,14 +174,14 @@ typedef struct _domdoc
LONG xmldoc_add_ref(xmlDocPtr doc) LONG xmldoc_add_ref(xmlDocPtr doc)
{ {
LONG ref = InterlockedIncrement((LONG*)&doc->_private); LONG ref = InterlockedIncrement((LONG*)&doc->_private);
TRACE("%ld\n", ref); TRACE("%d\n", ref);
return ref; return ref;
} }
LONG xmldoc_release(xmlDocPtr doc) LONG xmldoc_release(xmlDocPtr doc)
{ {
LONG ref = InterlockedDecrement((LONG*)&doc->_private); LONG ref = InterlockedDecrement((LONG*)&doc->_private);
TRACE("%ld\n", ref); TRACE("%d\n", ref);
if(ref == 0) if(ref == 0)
{ {
TRACE("freeing docptr %p\n", doc); TRACE("freeing docptr %p\n", doc);

View File

@ -743,7 +743,7 @@ static HRESULT WINAPI xmlnode_get_baseName(
break; break;
} }
TRACE("returning %08lx str = %s\n", r, debugstr_w( str ) ); TRACE("returning %08x str = %s\n", r, debugstr_w( str ) );
*nameString = str; *nameString = str;
return r; return r;

View File

@ -78,7 +78,7 @@ static ULONG WINAPI parseError_AddRef(
{ {
parse_error_t *This = impl_from_IXMLDOMParseError( iface ); parse_error_t *This = impl_from_IXMLDOMParseError( iface );
ULONG ref = InterlockedIncrement( &This->ref ); ULONG ref = InterlockedIncrement( &This->ref );
TRACE("(%p) ref now %ld\n", This, ref); TRACE("(%p) ref now %d\n", This, ref);
return ref; return ref;
} }
@ -89,7 +89,7 @@ static ULONG WINAPI parseError_Release(
ULONG ref; ULONG ref;
ref = InterlockedDecrement( &This->ref ); ref = InterlockedDecrement( &This->ref );
TRACE("(%p) ref now %ld\n", This, ref); TRACE("(%p) ref now %d\n", This, ref);
if ( ref == 0 ) if ( ref == 0 )
{ {
SysFreeString(This->url); SysFreeString(This->url);
@ -148,7 +148,7 @@ static HRESULT WINAPI parseError_Invoke(
static HRESULT WINAPI parseError_get_errorCode( static HRESULT WINAPI parseError_get_errorCode(
IXMLDOMParseError *iface, IXMLDOMParseError *iface,
LONG *code ) long *code )
{ {
parse_error_t *This = impl_from_IXMLDOMParseError( iface ); parse_error_t *This = impl_from_IXMLDOMParseError( iface );
TRACE("(%p)->(%p)\n", This, code); TRACE("(%p)->(%p)\n", This, code);
@ -195,7 +195,7 @@ static HRESULT WINAPI parseError_get_srcText(
static HRESULT WINAPI parseError_get_line( static HRESULT WINAPI parseError_get_line(
IXMLDOMParseError *iface, IXMLDOMParseError *iface,
LONG *line ) long *line )
{ {
FIXME("\n"); FIXME("\n");
return E_NOTIMPL; return E_NOTIMPL;
@ -203,7 +203,7 @@ static HRESULT WINAPI parseError_get_line(
static HRESULT WINAPI parseError_get_linepos( static HRESULT WINAPI parseError_get_linepos(
IXMLDOMParseError *iface, IXMLDOMParseError *iface,
LONG *linepos ) long *linepos )
{ {
FIXME("\n"); FIXME("\n");
return E_NOTIMPL; return E_NOTIMPL;
@ -211,7 +211,7 @@ static HRESULT WINAPI parseError_get_linepos(
static HRESULT WINAPI parseError_get_filepos( static HRESULT WINAPI parseError_get_filepos(
IXMLDOMParseError *iface, IXMLDOMParseError *iface,
LONG *filepos ) long *filepos )
{ {
FIXME("\n"); FIXME("\n");
return E_NOTIMPL; return E_NOTIMPL;