Enable -Wconversion: menu.c #2885

This commit is contained in:
Ismail Badawi
2015-06-23 19:33:47 -04:00
committed by Justin M. Keyes
parent f78bf64771
commit 34a5efd7a9
5 changed files with 26 additions and 22 deletions

View File

@@ -848,11 +848,11 @@ static void init_typebuf(void)
* If nottyped is TRUE, the string does not return KeyTyped (don't use when
* offset is non-zero!).
*
* If silent is TRUE, cmd_silent is set when the characters are obtained.
* If silent is true, cmd_silent is set when the characters are obtained.
*
* return FAIL for failure, OK otherwise
*/
int ins_typebuf(char_u *str, int noremap, int offset, int nottyped, int silent)
int ins_typebuf(char_u *str, int noremap, int offset, int nottyped, bool silent)
{
char_u *s1, *s2;
int newlen;