From: Adam Dickmeiss Date: Thu, 6 Jan 2000 11:25:59 +0000 (+0000) Subject: Added case to prevent warning. X-Git-Tag: YAZ.1.8~295 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=f1f27f8024382290d2809faec271ffeead2cfd84;p=yaz-moved-to-github.git Added case to prevent warning. --- diff --git a/retrieval/d1_read.c b/retrieval/d1_read.c index a5e9266..6ff7445 100644 --- a/retrieval/d1_read.c +++ b/retrieval/d1_read.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: d1_read.c,v $ - * Revision 1.31 1999-12-21 14:16:20 ian + * Revision 1.32 2000-01-06 11:25:59 adam + * Added case to prevent warning. + * + * Revision 1.31 1999/12/21 14:16:20 ian * Changed retrieval module to allow data1 trees with no associated absyn. * Also added a simple interface for extracting values from data1 trees using * a string based tagpath. @@ -543,7 +546,7 @@ data1_node *data1_read_node (data1_handle dh, const char **buf, NMEM m) WRBUF wrbuf = wrbuf_alloc(); data1_node *node; - node = data1_read_nodex(dh, m, getc_mem, buf, wrbuf); + node = data1_read_nodex(dh, m, getc_mem, (void *) (buf), wrbuf); wrbuf_free (wrbuf, 1); return node; }