aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/hashtab.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/hashtab.c')
-rw-r--r--src/nvim/hashtab.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/hashtab.c b/src/nvim/hashtab.c
index 851e70caca..8f4c7b1d80 100644
--- a/src/nvim/hashtab.c
+++ b/src/nvim/hashtab.c
@@ -457,8 +457,8 @@ hash_T hash_hash_len(const char *key, const size_t len)
///
/// Used for testing because luajit ffi does not allow getting addresses of
/// globals.
-const char_u *_hash_key_removed(void)
+const char *_hash_key_removed(void)
FUNC_ATTR_PURE FUNC_ATTR_WARN_UNUSED_RESULT
{
- return (char_u *)HI_KEY_REMOVED;
+ return HI_KEY_REMOVED;
}