summaryrefslogtreecommitdiffstats
path: root/package/libupnp/patches/libupnp-1.2.1a-gcc4.patch
blob: 2ea3f88052ce8765d9ce677e7773303c00a5b354 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Index: libupnp-1.2.1a/ixml/src/element.c
===================================================================
--- libupnp-1.2.1a.orig/ixml/src/element.c
+++ libupnp-1.2.1a/ixml/src/element.c
@@ -454,9 +454,9 @@ ixmlElement_removeAttributeNode( IN IXML
             element->n.firstAttr = nextSib;
         }
 
-        ( IXML_Attr * ) attrNode->parentNode = NULL;
-        ( IXML_Attr * ) attrNode->prevSibling = NULL;
-        ( IXML_Attr * ) attrNode->nextSibling = NULL;
+        attrNode->parentNode = NULL;
+        attrNode->prevSibling = NULL;
+        attrNode->nextSibling = NULL;
         *rtAttr = ( IXML_Attr * ) attrNode;
         return IXML_SUCCESS;