projects
/
yazpp-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Build packages for Ubuntu Trusty Tahr 14.04 LTS
[yazpp-moved-to-github.git]
/
zlint
/
zlint.cpp
diff --git
a/zlint/zlint.cpp
b/zlint/zlint.cpp
index
b8b8d59
..
7ed83b7
100644
(file)
--- a/
zlint/zlint.cpp
+++ b/
zlint/zlint.cpp
@@
-1,5
+1,5
@@
/* This file is part of the yazpp toolkit.
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2013 Index Data and Mike Taylor
+ * Copyright (C) Index Data
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
@@
-150,7
+150,11
@@
IPDU_Observer *Zlint::sessionNotify(
Z_ReferenceId *Zlint::mk_refid(const char *buf, int len)
{
Z_ReferenceId *Zlint::mk_refid(const char *buf, int len)
{
- return odr_create_Odr_oct(odr_encode(), buf, len);
+ return odr_create_Odr_oct(odr_encode(),
+#if YAZ_VERSIONL < 0x50000
+ (unsigned char *)
+#endif
+ buf, len);
}
int Zlint::initResponseGetVersion(Z_InitResponse *init)
}
int Zlint::initResponseGetVersion(Z_InitResponse *init)