From fc13964422ceccee84640cdc71a308dd48976560 Mon Sep 17 00:00:00 2001 From: rans Date: Thu, 2 Sep 2004 11:48:28 +0000 Subject: Just changed casts to libxml2's BAD_CAST x --- libcsoap/soap-xml.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libcsoap/soap-xml.c') diff --git a/libcsoap/soap-xml.c b/libcsoap/soap-xml.c index 1cae5b1..95b23c0 100644 --- a/libcsoap/soap-xml.c +++ b/libcsoap/soap-xml.c @@ -1,5 +1,5 @@ /****************************************************************** -* $Id: soap-xml.c,v 1.4 2004/08/26 17:06:18 rans Exp $ +* $Id: soap-xml.c,v 1.5 2004/09/02 11:48:28 rans Exp $ * * CSOAP Project: A SOAP client/server library in C * Copyright (C) 2003 Ferhat Ayaz @@ -66,7 +66,7 @@ soap_xpath_eval(xmlDocPtr doc, const char *xpath) xmlXPathObjectPtr result; context = xmlXPathNewContext(doc); - result = xmlXPathEvalExpression((xmlChar*)xpath, context); + result = xmlXPathEvalExpression(BAD_CAST xpath, context); if(xmlXPathNodeSetIsEmpty(result->nodesetval)){ /* no result */ return NULL; -- cgit v1.1-32-gdbae