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
64-bit BER integers. Fixes bug #114.
[yaz-moved-to-github.git]
/
test
/
tstodr.c
diff --git
a/test/tstodr.c
b/test/tstodr.c
index
8aa0154
..
4c2ae05
100644
(file)
--- a/
test/tstodr.c
+++ b/
test/tstodr.c
@@
-25,7
+25,7
@@
void tst_MySequence1(ODR encode, ODR decode)
s->second->buf = (unsigned char *) "hello";
s->second->len = 5;
s->second->size = 0;
s->second->buf = (unsigned char *) "hello";
s->second->len = 5;
s->second->size = 0;
- s->third = odr_intdup(encode, 1);
+ s->third = odr_booldup(encode, 1);
s->fourth = odr_nullval();
s->fifth = odr_intdup(encode, YC_MySequence_enum1);
s->fourth = odr_nullval();
s->fifth = odr_intdup(encode, YC_MySequence_enum1);
@@
-80,7
+80,7
@@
void tst_MySequence2(ODR encode, ODR decode)
s->second->buf = (unsigned char *) "hello";
s->second->len = 5;
s->second->size = 0;
s->second->buf = (unsigned char *) "hello";
s->second->len = 5;
s->second->size = 0;
- s->third = odr_intdup(encode, 1);
+ s->third = odr_booldup(encode, 1);
s->fourth = odr_nullval();
s->fifth = odr_intdup(encode, YC_MySequence_enum1);
s->myoid = odr_getoidbystr(encode, MYOID);
s->fourth = odr_nullval();
s->fifth = odr_intdup(encode, YC_MySequence_enum1);
s->myoid = odr_getoidbystr(encode, MYOID);