X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fseshigh.c;h=898af566bae031ae459fb8167a12c4a8531a6196;hp=fccb4e339a7ed73ff1dc7803aa919844a8d81d5b;hb=69b1d8e7b437179163fe97b7cbead51a56835f2a;hpb=cabcc223cd47503763e7c42969e3be30c58276af diff --git a/src/seshigh.c b/src/seshigh.c index fccb4e3..898af56 100644 --- a/src/seshigh.c +++ b/src/seshigh.c @@ -3127,7 +3127,7 @@ static Z_APDU *process_scanRequest(association *assoc, request *reqb) t->term->which = Z_Term_general; t->term->u.general = o = (Odr_oct *)odr_malloc(assoc->encode, sizeof(Odr_oct)); - o->buf = (unsigned char *) + o->buf = (char *) odr_malloc(assoc->encode, o->len = strlen(bsrr->entries[i].term)); #if OCT_SIZE