patch 7.4.1227
Problem: Compiler warnings.
Solution: Add UNUSED. Add type cast. (Yegappan Lakshmanan)
diff --git a/src/getchar.c b/src/getchar.c
index 12e2508..2c57090 100644
--- a/src/getchar.c
+++ b/src/getchar.c
@@ -5322,7 +5322,7 @@
#if defined(MSDOS) || defined(MSWIN) ||defined(MACOS)
int i;
- for (i = 0; i < sizeof(initmappings) / sizeof(struct initmap); ++i)
+ for (i = 0; i < (int)(sizeof(initmappings) / sizeof(struct initmap)); ++i)
add_map(initmappings[i].arg, initmappings[i].mode);
#endif
}