Tweak two assertions in dlls/msxml3/node.c
Gerald Pfeifer
gerald at pfeifer.com
Sun May 31 16:51:44 CDT 2009
GCC 4.5 snapshots warn when elements of different enums are compared;
luckily this only happens five times in the entire Wine tree.
This patch addresses 40% of those. :-)
Gerald
ChangeLog:
Tweak two assertions.
diff --git a/dlls/msxml3/node.c b/dlls/msxml3/node.c
index f33f6f8..19fa4c5 100644
--- a/dlls/msxml3/node.c
+++ b/dlls/msxml3/node.c
@@ -369,8 +369,8 @@ static HRESULT WINAPI xmlnode_get_nodeType(
TRACE("%p %p\n", This, type);
- assert( NODE_ELEMENT == XML_ELEMENT_NODE );
- assert( NODE_NOTATION == XML_NOTATION_NODE );
+ assert( (int)NODE_ELEMENT == (int)XML_ELEMENT_NODE );
+ assert( (int)NODE_NOTATION == (int)XML_NOTATION_NODE );
*type = This->node->type;
More information about the wine-patches
mailing list