marcmap: fix type for ch in use of getc
[pazpar2-moved-to-github.git] / src / marcmap.c
index fd9b1be..42491e2 100644 (file)
@@ -42,7 +42,7 @@ struct marcmap *marcmap_load(const char *filename, NMEM nmem)
     struct marcmap *mm;
     struct marcmap *mmhead;
     FILE *fp;
-    char c;
+    int c;
     char buf[256];
     int len;
     int field;