projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tweak
[yaz-moved-to-github.git]
/
cql
/
cqlstring.c
diff --git
a/cql/cqlstring.c
b/cql/cqlstring.c
index
b04dd5b
..
49a7882
100644
(file)
--- 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
Copyright (C) 2002-2003
Index Data Aps
@@
-15,7
+15,7
@@
struct cql_buf_info {
int getbuf(void *vp)
{
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++];
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)
{
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--);
}
if (b)
(bi->off--);
}