comparison src/getchar.c @ 7860:150576e6b984 v7.4.1227

commit https://github.com/vim/vim/commit/448a22549b4528fd81d520497f30672567199c96 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 31 18:08:34 2016 +0100 patch 7.4.1227 Problem: Compiler warnings. Solution: Add UNUSED. Add type cast. (Yegappan Lakshmanan)
author Christian Brabandt <cb@256bit.org>
date Sun, 31 Jan 2016 18:15:04 +0100
parents 10f17a228661
children 26f555e9aab1
comparison
equal deleted inserted replaced
7859:1921e0b6f522 7860:150576e6b984
5320 init_mappings(void) 5320 init_mappings(void)
5321 { 5321 {
5322 #if defined(MSDOS) || defined(MSWIN) ||defined(MACOS) 5322 #if defined(MSDOS) || defined(MSWIN) ||defined(MACOS)
5323 int i; 5323 int i;
5324 5324
5325 for (i = 0; i < sizeof(initmappings) / sizeof(struct initmap); ++i) 5325 for (i = 0; i < (int)(sizeof(initmappings) / sizeof(struct initmap)); ++i)
5326 add_map(initmappings[i].arg, initmappings[i].mode); 5326 add_map(initmappings[i].arg, initmappings[i].mode);
5327 #endif 5327 #endif
5328 } 5328 }
5329 5329
5330 #if defined(MSDOS) || defined(MSWIN) \ 5330 #if defined(MSDOS) || defined(MSWIN) \