X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=client%2Fclient.c;h=6cad6d846f2078f1c30e4b61693e392240e131e2;hb=43a7aff23f364fd3fac6e9746c53cda01be13738;hp=09d68f5ab8a3eecc3773dc9e3b8587240a382444;hpb=637213cb79d34110cb367369ece0745cdc2b554f;p=yaz-moved-to-github.git diff --git a/client/client.c b/client/client.c index 09d68f5..6cad6d8 100644 --- a/client/client.c +++ b/client/client.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2005, Index Data ApS * See the file LICENSE for details. * - * $Id: client.c,v 1.294 2005-07-22 06:23:14 adam Exp $ + * $Id: client.c,v 1.295 2005-08-22 20:34:21 adam Exp $ */ #include @@ -406,7 +406,7 @@ static int process_initResponse(Z_InitResponse *res) if (oid->value == VAL_OCLCUI) { Z_OCLC_UserInformation *oclc_ui; ODR decode = odr_createmem(ODR_DECODE); - odr_setbuf(decode, sat->buf, sat->len, 0); + odr_setbuf(decode, (char *) sat->buf, sat->len, 0); if (!z_OCLC_UserInformation(decode, &oclc_ui, 0, 0)) printf ("Bad OCLC UserInformation:\n"); else