RPN log: change some types to Odr_int
[yaz-moved-to-github.git] / src / logrpn.c
index 58468d5..06c675e 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2009 Index Data
+ * Copyright (C) 1995-2010 Index Data
  * See the file LICENSE for details.
  */
 
@@ -15,7 +15,7 @@
 #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)
@@ -34,7 +34,7 @@ static const char *relToStr(int 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';