X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fodr.c;h=ea7a7f3897a8ec06d15e85289d0370203b464676;hb=00a44ce036714ab57696ef7ca415e69422745706;hp=65ad86da110008878ab40df2cc934d7607c8acdd;hpb=36823208064a499a7813301dd494bdeb88d230d7;p=yaz-moved-to-github.git diff --git a/src/odr.c b/src/odr.c index 65ad86d..ea7a7f3 100644 --- a/src/odr.c +++ b/src/odr.c @@ -2,7 +2,7 @@ * 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.7 2004-10-02 13:28:26 adam Exp $ * */ #if HAVE_CONFIG_H @@ -145,7 +145,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; }