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
Nothing to get excited about.
[yaz-moved-to-github.git]
/
asn
/
test.c
diff --git
a/asn/test.c
b/asn/test.c
index
e61e12e
..
a68304c
100644
(file)
--- a/
asn/test.c
+++ b/
asn/test.c
@@
-1,7
+1,6
@@
#include <stdio.h>
#include <stdio.h>
-#include <odr.h>
-#include <odr_use.h>
-#include <proto.h>
+#include <yaz/odr.h>
+#include <yaz/proto.h>
int main()
{
int main()
{
@@
-46,8
+45,8
@@
int main()
apt.num_attributes=0;
apt.attributeList = 0;
apt.term = &term;
apt.num_attributes=0;
apt.attributeList = 0;
apt.term = &term;
- term.buf = "BARFOO";
- term.len = term.size = strlen(term.buf);
+ term.buf = (unsigned char*) "BARFOO";
+ term.len = term.size = strlen((char*)term.buf);
o.buf = buf;
o.bp=o.buf;
o.buf = buf;
o.bp=o.buf;