X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Ftstodr.c;h=b57c656829d1c45059b89831aad12ed3c71cc566;hb=14121668dfb035e79740cddb5518551b87b8da04;hp=268224da99dc8f17882bc80e896a60d252576f96;hpb=06ae818deffa84ec4bc1308051ef411845dd4ce5;p=yaz-moved-to-github.git diff --git a/test/tstodr.c b/test/tstodr.c index 268224d..b57c656 100644 --- a/test/tstodr.c +++ b/test/tstodr.c @@ -1,14 +1,13 @@ /* - * Copyright (C) 1995-2005, Index Data ApS + * Copyright (C) 1995-2007, Index Data ApS * See the file LICENSE for details. * - * $Id: tstodr.c,v 1.8 2006-01-29 21:59:13 adam Exp $ + * $Id: tstodr.c,v 1.12 2007-08-13 16:23:30 mike Exp $ * */ #include #include -#include -#include +#include #include "tstodrcodec.h" #include @@ -67,7 +66,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); }