X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=test%2Ftstodr.c;h=4c2ae053438f9e227cd4e52d75671f7af018ed73;hp=8aa01549aa4c3ec924633cba8cee7dfed77782fa;hb=6b76baf0fb5d0d437caedd8076f77f372d775758;hpb=ae1c6f1a0a5fb745b1a5fa315869161d7480c6f7 diff --git a/test/tstodr.c b/test/tstodr.c index 8aa0154..4c2ae05 100644 --- 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->third = odr_intdup(encode, 1); + s->third = odr_booldup(encode, 1); 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->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);