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
For OIDs use Odr_oid type everywhere, i.e. do not assume Odr_oid=int.
[yaz-moved-to-github.git]
/
src
/
srw.c
diff --git
a/src/srw.c
b/src/srw.c
index
531c82d
..
0b907ee
100644
(file)
--- a/
src/srw.c
+++ b/
src/srw.c
@@
-1,8
+1,8
@@
/*
/*
- * Copyright (C) 1995-2006, Index Data ApS
+ * Copyright (C) 1995-2007, Index Data ApS
* See the file LICENSE for details.
*
* See the file LICENSE for details.
*
- * $Id: srw.c,v 1.53 2006-12-07 19:06:11 adam Exp $
+ * $Id: srw.c,v 1.55 2007-05-06 20:12:20 adam Exp $
*/
/**
* \file srw.c
*/
/**
* \file srw.c
@@
-150,7
+150,7
@@
static int match_xsd_XML_n(xmlNodePtr ptr, const char *elem, ODR o,
xmlFreeNode(tmp);
xmlFreeNode(tmp);
- *val = odr_malloc(o, buf->use+1);
+ *val = (char *) odr_malloc(o, buf->use+1);
memcpy (*val, buf->content, buf->use);
(*val)[buf->use] = '\0';
memcpy (*val, buf->content, buf->use);
(*val)[buf->use] = '\0';