X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fsrw.c;h=0b907eee3dfce621ea3d97e8b11770ef3e89ebef;hb=9c75e92604fae1efd7137d085dd2281e7886345b;hp=531c82d43de3e591b4dd9e7e253720cc5b23d63b;hpb=6ac2cbf8b4f34a3e3d2bd0687d11d63579786dea;p=yaz-moved-to-github.git diff --git a/src/srw.c b/src/srw.c index 531c82d..0b907ee 100644 --- a/src/srw.c +++ b/src/srw.c @@ -1,8 +1,8 @@ /* - * Copyright (C) 1995-2006, Index Data ApS + * Copyright (C) 1995-2007, Index Data ApS * See the file LICENSE for details. * - * $Id: srw.c,v 1.53 2006-12-07 19:06:11 adam Exp $ + * $Id: srw.c,v 1.55 2007-05-06 20:12:20 adam Exp $ */ /** * \file srw.c @@ -150,7 +150,7 @@ static int match_xsd_XML_n(xmlNodePtr ptr, const char *elem, ODR o, xmlFreeNode(tmp); - *val = odr_malloc(o, buf->use+1); + *val = (char *) odr_malloc(o, buf->use+1); memcpy (*val, buf->content, buf->use); (*val)[buf->use] = '\0';