X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Ftstodr.c;h=99cef6126124fa149088dcf4ac522d25ebb69a60;hb=cafbfb115514fa25b200b845c2b32b92ef65a6d3;hp=1ebacf39982b92499eb9648b2476010eb3ec23fb;hpb=8d691989077a0addcbd840d769dce6700f3d9622;p=yaz-moved-to-github.git diff --git a/test/tstodr.c b/test/tstodr.c index 1ebacf3..99cef61 100644 --- a/test/tstodr.c +++ b/test/tstodr.c @@ -1,14 +1,10 @@ -/* - * Copyright (C) 1995-2007, Index Data ApS +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2008 Index Data * See the file LICENSE for details. - * - * $Id: tstodr.c,v 1.9 2007-01-03 08:42:16 adam Exp $ - * */ #include #include -#include -#include +#include #include "tstodrcodec.h" #include @@ -67,7 +63,7 @@ void tst_MySequence1(ODR encode, ODR decode) YAZ_CHECK(t->myoid); if (t->myoid) { - int *myoid = odr_getoidbystr(decode, MYOID); + Odr_oid *myoid = odr_getoidbystr(decode, MYOID); YAZ_CHECK(oid_oidcmp(myoid, t->myoid) == 0); }