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
No unsigned char's in public API (except for iconv)
[yaz-moved-to-github.git]
/
src
/
odr.c
diff --git
a/src/odr.c
b/src/odr.c
index
142249f
..
e424b20
100644
(file)
--- a/
src/odr.c
+++ b/
src/odr.c
@@
-272,8
+272,8
@@
void odr_destroy(ODR o)
void odr_setbuf(ODR o, char *buf, int len, int can_grow)
{
odr_seterror(o, ONONE, 0);
void odr_setbuf(ODR o, char *buf, int len, int can_grow)
{
odr_seterror(o, ONONE, 0);
- o->bp = (unsigned char *) buf;
- o->buf = (unsigned char *) buf;
+ o->bp = buf;
+ o->buf = buf;
o->op->can_grow = can_grow;
o->top = o->pos = 0;
o->size = len;
o->op->can_grow = can_grow;
o->top = o->pos = 0;
o->size = len;