X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fsoap.c;h=167f0fca27ab79b644ae9475d265eef2ec75b8b2;hb=3fe8d724fd45258f340a8396877aa93bd0a93d00;hp=d14daa7bd4915811a6008550cd98845897cf3068;hpb=d34b7eb62c029d607550ef6c1090c94729bde38f;p=yaz-moved-to-github.git diff --git a/src/soap.c b/src/soap.c index d14daa7..167f0fc 100644 --- a/src/soap.c +++ b/src/soap.c @@ -1,8 +1,6 @@ -/* - * Copyright (C) 1995-2005, Index Data ApS +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2009 Index Data * See the file LICENSE for details. - * - * $Id: soap.c,v 1.16 2006-10-24 09:18:34 adam Exp $ */ /** * \file soap.c @@ -264,7 +262,7 @@ int z_soap_codec_enc_xsl(ODR o, Z_SOAP **pp, } if (stylesheet) { - char *content = odr_malloc(o, strlen(stylesheet) + 40); + char *content = (char *) odr_malloc(o, strlen(stylesheet) + 40); xmlNodePtr pi, ptr = xmlDocGetRootElement(doc); sprintf(content, "type=\"text/xsl\" href=\"%s\"", stylesheet);