aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Hinz <mh.codebro+github@gmail.com>2018-06-13 10:48:29 +0200
committerJustin M. Keyes <justinkz@gmail.com>2018-06-13 10:48:29 +0200
commitf4ba20d1c0b6c45b2c50d3cb23ce0d0b365d3dde (patch)
tree353b49e52eaaa73b73b811ef3882d508b980f0a3
parent315b7f8632076d882d498fc0bfab21a87ca75acb (diff)
downloadrneovim-f4ba20d1c0b6c45b2c50d3cb23ce0d0b365d3dde.tar.gz
rneovim-f4ba20d1c0b6c45b2c50d3cb23ce0d0b365d3dde.tar.bz2
rneovim-f4ba20d1c0b6c45b2c50d3cb23ce0d0b365d3dde.zip
Fix implicit conversion warning (#8536)
-rw-r--r--src/nvim/fileio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/fileio.c b/src/nvim/fileio.c
index 0417c3daed..49de2ab81e 100644
--- a/src/nvim/fileio.c
+++ b/src/nvim/fileio.c
@@ -6653,7 +6653,7 @@ bool trigger_cursorhold(void) FUNC_ATTR_PURE FUNC_ATTR_WARN_UNUSED_RESULT
/// Return true if "event" autocommand is defined.
///
/// @param event the autocommand to check
-bool has_event(int event) FUNC_ATTR_PURE FUNC_ATTR_WARN_UNUSED_RESULT
+bool has_event(event_T event) FUNC_ATTR_PURE FUNC_ATTR_WARN_UNUSED_RESULT
{
return first_autopat[event] != NULL;
}