projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed license of CCL module to 'Revised BSD'.
[yaz-moved-to-github.git]
/
ziffy
/
yaz.c
diff --git
a/ziffy/yaz.c
b/ziffy/yaz.c
index
b73a3e2
..
6e9943e
100644
(file)
--- a/
ziffy/yaz.c
+++ b/
ziffy/yaz.c
@@
-85,7
+85,7
@@
void please_yaz_help_me (z3950apdu * hook)
*/
memcpy (berbuffer, z3950, z3950_size);
*/
memcpy (berbuffer, z3950, z3950_size);
- odr_setbuf (decode, berbuffer, z3950_size, 0);
+ odr_setbuf (decode, (char *) berbuffer, z3950_size, 0);
/*
* Perform BER decoding
/*
* Perform BER decoding
@@
-127,7
+127,7
@@
void please_yaz_help_me (z3950apdu * hook)
/*
* Yup! We have the APDU now. Try to print it
*/
/*
* 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);
fflush (stdout);
z_APDU (printing, & apdu, 0, 0);