X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fpquery.c;h=f2c39e87b75df42f8e83df1aec33bca16d8263de;hp=c787b5835f9eff2744f441faaa32291eea67f077;hb=69b1d8e7b437179163fe97b7cbead51a56835f2a;hpb=cabcc223cd47503763e7c42969e3be30c58276af diff --git a/src/pquery.c b/src/pquery.c index c787b58..f2c39e8 100644 --- a/src/pquery.c +++ b/src/pquery.c @@ -311,7 +311,7 @@ Z_Term *z_Term_create(ODR o, int term_type, const char *buf, size_t len) { Z_Term *term = (Z_Term *)odr_malloc(o, sizeof(*term)); Odr_oct *term_octet = (Odr_oct *)odr_malloc(o, sizeof(*term_octet)); - term_octet->buf = (unsigned char *)odr_malloc(o, 1 + len); + term_octet->buf = (char *)odr_malloc(o, 1 + len); memcpy(term_octet->buf, buf, len); term_octet->len = len; #if OCT_SIZE