X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=cql%2Fcqlstring.c;h=49a7882ca464e8dc90da5fb26852f990c3ef4541;hp=b04dd5b59f119ad1833fa47004f4cf7cbf3305fa;hb=ac286ae76051058c8e340bf84eb98391340b7d22;hpb=6d6cdcaccf2b4cab92da8e29700053b43543dd4c diff --git a/cql/cqlstring.c b/cql/cqlstring.c index b04dd5b..49a7882 100644 --- a/cql/cqlstring.c +++ b/cql/cqlstring.c @@ -1,4 +1,4 @@ -/* $Id: cqlstring.c,v 1.1 2003-01-06 08:20:27 adam Exp $ +/* $Id: cqlstring.c,v 1.2 2003-02-14 18:49:23 adam Exp $ Copyright (C) 2002-2003 Index Data Aps @@ -15,7 +15,7 @@ struct cql_buf_info { int getbuf(void *vp) { - struct cql_buf_info *bi = vp; + struct cql_buf_info *bi = (struct cql_buf_info *) vp; if (bi->str[bi->off] == 0) return 0; return bi->str[bi->off++]; @@ -23,7 +23,7 @@ int getbuf(void *vp) void ungetbuf(int b, void *vp) { - struct cql_buf_info *bi = vp; + struct cql_buf_info *bi = (struct cql_buf_info *) vp; if (b) (bi->off--); }