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;
}
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)