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
Got rid of a few warnings WRT signed/unsigned types
[yaz-moved-to-github.git]
/
src
/
yaz-ccl.c
diff --git
a/src/yaz-ccl.c
b/src/yaz-ccl.c
index
3ab49dc
..
8eef9af
100644
(file)
--- a/
src/yaz-ccl.c
+++ b/
src/yaz-ccl.c
@@
-1,8
+1,6
@@
-/*
- * Copyright (C) 1995-2007, Index Data ApS
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) 1995-2008 Index Data
* See the file LICENSE for details.
* See the file LICENSE for details.
- *
- * $Id: yaz-ccl.c,v 1.5 2007-01-03 08:42:15 adam Exp $
*/
/**
* \file yaz-ccl.c
*/
/**
* \file yaz-ccl.c
@@
-25,9
+23,9
@@
Z_RPNQuery *ccl_rpn_query (ODR o, struct ccl_rpn_node *p)
ccl_pquery(wr, p);
ccl_pquery(wr, p);
- q = yaz_pqf_parse(parser, o, wrbuf_buf(wr));
+ q = yaz_pqf_parse(parser, o, wrbuf_cstr(wr));
- wrbuf_free(wr, 1);
+ wrbuf_destroy(wr);
yaz_pqf_destroy(parser);
return q;
}
yaz_pqf_destroy(parser);
return q;
}
@@
-41,9
+39,9
@@
Z_AttributesPlusTerm *ccl_scan_query (ODR o, struct ccl_rpn_node *p)
ccl_pquery(wr, p);
ccl_pquery(wr, p);
- q = yaz_pqf_scan(parser, o, &setp, wrbuf_buf(wr));
+ q = yaz_pqf_scan(parser, o, &setp, wrbuf_cstr(wr));
- wrbuf_free(wr, 1);
+ wrbuf_destroy(wr);
yaz_pqf_destroy(parser);
return q;
}
yaz_pqf_destroy(parser);
return q;
}