X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fodr.c;h=1e31f29cca1bb26ecff8534f074df0b70c1c2b88;hb=9a32992b1041bf622fdc4825262f5f7110494cce;hp=65ad86da110008878ab40df2cc934d7607c8acdd;hpb=36823208064a499a7813301dd494bdeb88d230d7;p=yaz-moved-to-github.git diff --git a/src/odr.c b/src/odr.c index 65ad86d..1e31f29 100644 --- a/src/odr.c +++ b/src/odr.c @@ -2,9 +2,15 @@ * Copyright (c) 1995-2004, Index Data * See the file LICENSE for details. * - * $Id: odr.c,v 1.6 2004-10-01 13:16:18 adam Exp $ + * $Id: odr.c,v 1.8 2004-10-15 00:19:00 adam Exp $ * */ + +/** + * \file odr.c + * \brief Implements fundamental ODR functionality + */ + #if HAVE_CONFIG_H #include #endif @@ -145,7 +151,7 @@ void odr_set_stream(ODR o, void *handle, const char *buf, int len), void (*stream_close)(void *handle)) { - o->print = handle; + o->print = (FILE*) handle; o->op->stream_write = stream_write; o->op->stream_close = stream_close; }