/* 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.
*/
Z_ReferenceId* id = NULL;
if (str)
- id = odr_create_Odr_oct(m_p->odr_out, str, strlen(str));
+ id = odr_create_Odr_oct(m_p->odr_out,
+#if YAZ_VERSIONL < 0x50000
+ (unsigned char *)
+#endif
+ str, strlen(str));
return id;
}