X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=ccl%2Fcclqfile.c;h=fa93894c7f0b26b063b0d33c4d86f74b0c484992;hp=96d57e91bf9cea74de25af8ac355ab80e834c0f0;hb=e5324215018e129dd19734acd0e683e5af748423;hpb=84123e31b540666d168a28292c0461698841f8be diff --git a/ccl/cclqfile.c b/ccl/cclqfile.c index 96d57e9..fa93894 100644 --- a/ccl/cclqfile.c +++ b/ccl/cclqfile.c @@ -45,7 +45,10 @@ * Europagate, 1995 * * $Log: cclqfile.c,v $ - * Revision 1.7 2001-01-24 11:55:31 adam + * Revision 1.8 2001-02-21 13:46:53 adam + * C++ fixes. + * + * Revision 1.7 2001/01/24 11:55:31 adam * Fixed nasty bug introduced by previous commit (attribute sets not * properly allocated). * @@ -175,7 +178,7 @@ void ccl_qual_fitem (CCL_bibset bibset, const char *cp, const char *qual_name) pair[pair_no*2+1] = value; if (setp) { - attsets[pair_no] = malloc (strlen(qual_spec)+1); + attsets[pair_no] = (char*) malloc (strlen(qual_spec)+1); strcpy (attsets[pair_no], qual_spec); } else