Module: wine Branch: master Commit: 6a7bf66b29752c15df342c21e6d5dfe698cfbe90 URL: http://source.winehq.org/git/wine.git/?a=commit;h=6a7bf66b29752c15df342c21e6...
Author: Nikolay Sivov nsivov@codeweavers.com Date: Tue May 7 15:07:28 2013 +0400
msxml3: Explicitly use NULL_tid to terminate support error id arrays.
---
dlls/msxml3/attribute.c | 2 +- dlls/msxml3/cdata.c | 2 +- dlls/msxml3/comment.c | 2 +- dlls/msxml3/docfrag.c | 2 +- dlls/msxml3/domdoc.c | 2 +- dlls/msxml3/element.c | 2 +- dlls/msxml3/entityref.c | 2 +- dlls/msxml3/node.c | 2 +- dlls/msxml3/pi.c | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/dlls/msxml3/attribute.c b/dlls/msxml3/attribute.c index 9ab3035..70dee2a 100644 --- a/dlls/msxml3/attribute.c +++ b/dlls/msxml3/attribute.c @@ -53,7 +53,7 @@ typedef struct _domattr static const tid_t domattr_se_tids[] = { IXMLDOMNode_tid, IXMLDOMAttribute_tid, - 0 + NULL_tid };
static inline domattr *impl_from_IXMLDOMAttribute( IXMLDOMAttribute *iface ) diff --git a/dlls/msxml3/cdata.c b/dlls/msxml3/cdata.c index 61c0ce2..2fcacff 100644 --- a/dlls/msxml3/cdata.c +++ b/dlls/msxml3/cdata.c @@ -52,7 +52,7 @@ typedef struct static const tid_t domcdata_se_tids[] = { IXMLDOMNode_tid, IXMLDOMCDATASection_tid, - 0 + NULL_tid };
static inline domcdata *impl_from_IXMLDOMCDATASection( IXMLDOMCDATASection *iface ) diff --git a/dlls/msxml3/comment.c b/dlls/msxml3/comment.c index 879ca48..12a584d 100644 --- a/dlls/msxml3/comment.c +++ b/dlls/msxml3/comment.c @@ -52,7 +52,7 @@ typedef struct _domcomment static const tid_t domcomment_se_tids[] = { IXMLDOMNode_tid, IXMLDOMComment_tid, - 0 + NULL_tid };
static inline domcomment *impl_from_IXMLDOMComment( IXMLDOMComment *iface ) diff --git a/dlls/msxml3/docfrag.c b/dlls/msxml3/docfrag.c index f066290..1b56885 100644 --- a/dlls/msxml3/docfrag.c +++ b/dlls/msxml3/docfrag.c @@ -52,7 +52,7 @@ typedef struct _domfrag static const tid_t domfrag_se_tids[] = { IXMLDOMNode_tid, IXMLDOMDocumentFragment_tid, - 0 + NULL_tid };
static inline domfrag *impl_from_IXMLDOMDocumentFragment( IXMLDOMDocumentFragment *iface ) diff --git a/dlls/msxml3/domdoc.c b/dlls/msxml3/domdoc.c index b607997..e98fa72 100644 --- a/dlls/msxml3/domdoc.c +++ b/dlls/msxml3/domdoc.c @@ -859,7 +859,7 @@ static const tid_t domdoc_se_tids[] = { IXMLDOMDocument_tid, IXMLDOMDocument2_tid, IXMLDOMDocument3_tid, - 0 + NULL_tid };
static HRESULT WINAPI domdoc_QueryInterface( IXMLDOMDocument3 *iface, REFIID riid, void** ppvObject ) diff --git a/dlls/msxml3/element.c b/dlls/msxml3/element.c index 20cd9b7..5e8822e 100644 --- a/dlls/msxml3/element.c +++ b/dlls/msxml3/element.c @@ -58,7 +58,7 @@ static const struct nodemap_funcs domelem_attr_map; static const tid_t domelem_se_tids[] = { IXMLDOMNode_tid, IXMLDOMElement_tid, - 0 + NULL_tid };
static inline domelem *impl_from_IXMLDOMElement( IXMLDOMElement *iface ) diff --git a/dlls/msxml3/entityref.c b/dlls/msxml3/entityref.c index f2d46ab..1c0309a 100644 --- a/dlls/msxml3/entityref.c +++ b/dlls/msxml3/entityref.c @@ -52,7 +52,7 @@ typedef struct _entityref static const tid_t domentityref_se_tids[] = { IXMLDOMNode_tid, IXMLDOMEntityReference_tid, - 0 + NULL_tid };
static inline entityref *impl_from_IXMLDOMEntityReference( IXMLDOMEntityReference *iface ) diff --git a/dlls/msxml3/node.c b/dlls/msxml3/node.c index be47a75..79de75c 100644 --- a/dlls/msxml3/node.c +++ b/dlls/msxml3/node.c @@ -150,7 +150,7 @@ static HRESULT WINAPI SupportErrorInfo_InterfaceSupportsErrorInfo(ISupportErrorI TRACE("(%p)->(%s)\n", This, debugstr_guid(riid));
tid = This->iids; - while (*tid) + while (*tid != NULL_tid) { if (IsEqualGUID(riid, get_riid_from_tid(*tid))) return S_OK; diff --git a/dlls/msxml3/pi.c b/dlls/msxml3/pi.c index 4d1cab7..6b8fc12 100644 --- a/dlls/msxml3/pi.c +++ b/dlls/msxml3/pi.c @@ -54,7 +54,7 @@ static const struct nodemap_funcs dom_pi_attr_map; static const tid_t dompi_se_tids[] = { IXMLDOMNode_tid, IXMLDOMProcessingInstruction_tid, - 0 + NULL_tid };
static inline dom_pi *impl_from_IXMLDOMProcessingInstruction( IXMLDOMProcessingInstruction *iface )