mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Fix implicit conversion warning (#8536)
This commit is contained in:
parent
315b7f8632
commit
f4ba20d1c0
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user