aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/getchar.c
diff options
context:
space:
mode:
authorIsmail Badawi <ismail@badawi.io>2015-06-23 19:33:47 -0400
committerJustin M. Keyes <justinkz@gmail.com>2015-06-25 01:28:02 -0400
commit34a5efd7a9a5c093207ab9d235719de546ff7479 (patch)
tree7c63ca80a55c63cc15eb178571768362b425bbde /src/nvim/getchar.c
parentf78bf64771c47a685fb3a994d09d41ae970c77d0 (diff)
downloadrneovim-34a5efd7a9a5c093207ab9d235719de546ff7479.tar.gz
rneovim-34a5efd7a9a5c093207ab9d235719de546ff7479.tar.bz2
rneovim-34a5efd7a9a5c093207ab9d235719de546ff7479.zip
Enable -Wconversion: menu.c #2885
Diffstat (limited to 'src/nvim/getchar.c')
-rw-r--r--src/nvim/getchar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/getchar.c b/src/nvim/getchar.c
index 1951cd6737..864aa6a622 100644
--- a/src/nvim/getchar.c
+++ b/src/nvim/getchar.c
@@ -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;