#include <yaz/logrpn.h>
#include <yaz/oid_db.h>
-static const char *relToStr(int v)
+static const char *relToStr(Odr_int v)
{
const char *str = 0;
switch (v)
return str;
}
-static void attrStr (int type, int value, char *str)
+static void attrStr (Odr_int type, Odr_int value, char *str)
{
const char *rstr;
*str = '\0';
{
if (ae->which == Z_AttributeValue_numeric)
{
- int truncation = *(ae->value.numeric);
+ Odr_int truncation = *(ae->value.numeric);
/* This logic only works for Left, right and both. eg. 1,2,3 */
if (truncation <= 3)
- return (int) (truncation & flag);
+ return ((int) truncation & flag);
}
/* Complex: Shouldn't happen */
}