From 0f21ef6a3d846e26d4e6c1ef375f62ce12adce9b Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 13 Dec 2006 11:22:20 +0000 Subject: [PATCH] Added type cast from signed char to char --- ziffy/yaz.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 1.7.10.4