aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/keycodes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/keycodes.h')
-rw-r--r--src/nvim/keycodes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/keycodes.h b/src/nvim/keycodes.h
index 631a9f68d3..f6c576f6ee 100644
--- a/src/nvim/keycodes.h
+++ b/src/nvim/keycodes.h
@@ -473,7 +473,7 @@ enum key_extra {
#define MAX_KEY_CODE_LEN 6
#define FLAG_CPO_BSLASH 0x01
-#define CPO_TO_CPO_FLAGS ((vim_strchr(p_cpo, CPO_BSLASH) == NULL) \
+#define CPO_TO_CPO_FLAGS ((vim_strchr((char *)p_cpo, CPO_BSLASH) == NULL) \
? 0 \
: FLAG_CPO_BSLASH)