From: Adam Dickmeiss Date: Wed, 13 Dec 2006 11:22:20 +0000 (+0000) Subject: Added type cast from signed char to char X-Git-Tag: YAZ.2.1.42~13 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=0f21ef6a3d846e26d4e6c1ef375f62ce12adce9b;p=yaz-moved-to-github.git Added type cast from signed char to char --- diff --git a/ziffy/yaz.c b/ziffy/yaz.c index b73a3e2..6e9943e 100644 --- a/ziffy/yaz.c +++ b/ziffy/yaz.c @@ -85,7 +85,7 @@ void please_yaz_help_me (z3950apdu * hook) */ memcpy (berbuffer, z3950, z3950_size); - odr_setbuf (decode, berbuffer, z3950_size, 0); + odr_setbuf (decode, (char *) berbuffer, z3950_size, 0); /* * Perform BER decoding @@ -127,7 +127,7 @@ void please_yaz_help_me (z3950apdu * hook) /* * Yup! We have the APDU now. Try to print it */ - odr_setbuf (printing, berbuffer, z3950_size, 0); + odr_setbuf (printing, (char *) berbuffer, z3950_size, 0); fflush (stdout); z_APDU (printing, & apdu, 0, 0);