remove non-sensical cast, fixes gcc4 (no lvalue cast)
This commit is contained in:
parent
ea4065b5bd
commit
ef4c54735f
@ -1,7 +1,7 @@
|
||||
$OpenBSD: patch-sample_Makefile_in,v 1.2 2007/02/08 19:00:17 todd Exp $
|
||||
--- sample/Makefile.in.orig Sun Jun 23 18:48:29 2002
|
||||
+++ sample/Makefile.in Thu Feb 8 11:22:32 2007
|
||||
@@ -82,25 +82,25 @@ INCLUDES = -I../src -I../expat/xmltok -I
|
||||
$OpenBSD: patch-sample_Makefile_in,v 1.3 2010/05/22 13:22:53 espie Exp $
|
||||
--- sample/Makefile.in.orig Mon Jun 24 01:48:29 2002
|
||||
+++ sample/Makefile.in Sat May 22 15:16:29 2010
|
||||
@@ -82,25 +82,25 @@ INCLUDES = -I../src -I../expat/xmltok -I../expat/xmlpa
|
||||
bin_PROGRAMS = sample client server server_compliance_test memtest hello_client hello_server
|
||||
|
||||
sample_SOURCES = sample.c
|
||||
|
@ -1,6 +1,6 @@
|
||||
$OpenBSD: patch-src_Makefile_in,v 1.2 2007/02/08 19:00:17 todd Exp $
|
||||
--- src/Makefile.in.orig Sun Jun 23 18:48:29 2002
|
||||
+++ src/Makefile.in Thu Feb 8 11:17:59 2007
|
||||
$OpenBSD: patch-src_Makefile_in,v 1.3 2010/05/22 13:22:53 espie Exp $
|
||||
--- src/Makefile.in.orig Mon Jun 24 01:48:29 2002
|
||||
+++ src/Makefile.in Sat May 22 15:16:29 2010
|
||||
@@ -75,16 +75,15 @@ RANLIB = @RANLIB@
|
||||
STRIP = @STRIP@
|
||||
VERSION = @VERSION@
|
||||
@ -53,7 +53,7 @@ $OpenBSD: patch-src_Makefile_in,v 1.2 2007/02/08 19:00:17 todd Exp $
|
||||
HEADERS = $(include_HEADERS)
|
||||
|
||||
DIST_COMMON = README Makefile.am Makefile.in
|
||||
@@ -153,8 +150,8 @@ DEP_FILES = .deps/base64.P .deps/encodi
|
||||
@@ -153,8 +150,8 @@ DEP_FILES = .deps/base64.P .deps/encodings.P .deps/qu
|
||||
.deps/simplestring.P .deps/system_methods.P .deps/xml_element.P \
|
||||
.deps/xml_to_dandarpc.P .deps/xml_to_soap.P .deps/xml_to_xmlrpc.P \
|
||||
.deps/xmlrpc.P .deps/xmlrpc_introspection.P
|
||||
|
@ -1,7 +1,7 @@
|
||||
$OpenBSD: patch-src_xml_element_c,v 1.1.1.1 2007/02/08 03:23:35 todd Exp $
|
||||
--- src/xml_element.c.orig Wed Feb 7 18:44:03 2007
|
||||
+++ src/xml_element.c Wed Feb 7 18:44:29 2007
|
||||
@@ -88,10 +88,10 @@ static const char rcsid[] = "#(@) $Id: x
|
||||
$OpenBSD: patch-src_xml_element_c,v 1.2 2010/05/22 13:22:53 espie Exp $
|
||||
--- src/xml_element.c.orig Thu May 23 19:46:51 2002
|
||||
+++ src/xml_element.c Sat May 22 15:19:57 2010
|
||||
@@ -88,10 +88,10 @@ static const char rcsid[] = "#(@) $Id: xml_element.c,v
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
@ -13,3 +13,12 @@ $OpenBSD: patch-src_xml_element_c,v 1.1.1.1 2007/02/08 03:23:35 todd Exp $
|
||||
#include "encodings.h"
|
||||
|
||||
#define my_free(thing) if(thing) {free(thing); thing = 0;}
|
||||
@@ -170,7 +170,7 @@ void xml_elem_free_non_recurse(xml_element* root) {
|
||||
|
||||
Q_Destroy(&root->children);
|
||||
Q_Destroy(&root->attrs);
|
||||
- my_free((char*)root->name);
|
||||
+ my_free(root->name);
|
||||
simplestring_free(&root->text);
|
||||
my_free(root);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user