X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fsoap.c;h=5dbd490356a51110137f36c71122fa7606a60f5a;hb=9bf84c30a3d0e3e1d4b9136aee9c0a4b8ae769d2;hp=5bfa8b3b335423cfe707623d77f179e7ffd33fc6;hpb=fc6d778b923000b5c6ad8e108b0b184178a9d33f;p=yaz-moved-to-github.git diff --git a/src/soap.c b/src/soap.c index 5bfa8b3..5dbd490 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-2008 Index Data * See the file LICENSE for details. - * - * $Id: soap.c,v 1.14 2006-07-06 10:17:54 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);