* Copyright (c) 1995-2002, Index Data.
* See the file LICENSE for details.
*
- * $Id: ztest.c,v 1.50 2002-01-23 22:40:36 adam Exp $
+ * $Id: ztest.c,v 1.51 2002-01-28 09:26:14 adam Exp $
*/
/*
return 0;
}
fseek (f, 0L, SEEK_SET);
- r->record = odr_malloc (r->stream, size);
+ r->record = (char*) odr_malloc (r->stream, size);
r->len = size;
r->output_format = VAL_POSTSCRIPT;
fread (r->record, size, 1, f);
/*
- * Copyright (c) 1995-2001, Index Data
+ * Copyright (c) 1995-2002, Index Data
* See the file LICENSE for details.
*
- * $Id: z3950oid.c,v 1.1 2001-09-25 07:35:37 adam Exp $
+ * $Id: z3950oid.c,v 1.2 2002-01-28 09:27:17 adam Exp $
*/
#if HAVE_CONFIG_H
int oid[OID_SIZE];
ident.proto = PROTO_Z3950;
- ident.oclass = oid_class;
- ident.value = oid_value;
+ ident.oclass = (enum oid_class) oid_class;
+ ident.value = (enum oid_value) oid_value;
if (ident.value == VAL_NONE)
return 0;
int oid[OID_SIZE];
ident.proto = PROTO_Z3950;
- ident.oclass = oid_class;
+ ident.oclass = (enum oid_class) oid_class;
ident.value = oid_getvalbyname(str);
if (ident.value == VAL_NONE)