summaryrefslogtreecommitdiff
path: root/src/getchar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/getchar.c')
-rw-r--r--src/getchar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/getchar.c b/src/getchar.c
index 12e250812..2c5709003 100644
--- a/src/getchar.c
+++ b/src/getchar.c
@@ -5322,7 +5322,7 @@ init_mappings(void)
#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
}