aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/charset.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-08-26 10:46:18 +0800
committerGitHub <noreply@github.com>2022-08-26 10:46:18 +0800
commit946c0aa66f7b52c406b2654b9869edcb79db5ada (patch)
treec2798c15f37da62bfa97d157d9bf6e2ced6c0a29 /src/nvim/charset.c
parentc12f6002a15b27ada972b997bc0950f37d06027d (diff)
parent36fdad557583216c93cf85d94400eaf6996dced7 (diff)
downloadrneovim-946c0aa66f7b52c406b2654b9869edcb79db5ada.tar.gz
rneovim-946c0aa66f7b52c406b2654b9869edcb79db5ada.tar.bz2
rneovim-946c0aa66f7b52c406b2654b9869edcb79db5ada.zip
Merge pull request #19953 from zeertzjq/vim-9.0.0036
vim-patch:8.2.2524,9.0.(0036,0037,0038,0040}
Diffstat (limited to 'src/nvim/charset.c')
-rw-r--r--src/nvim/charset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/charset.c b/src/nvim/charset.c
index ff58810ff0..d48cadf356 100644
--- a/src/nvim/charset.c
+++ b/src/nvim/charset.c
@@ -1655,7 +1655,7 @@ int hex2nr(int c)
/// Convert two hex characters to a byte.
/// Return -1 if one of the characters is not hex.
-int hexhex2nr(char_u *p)
+int hexhex2nr(const char_u *p)
FUNC_ATTR_PURE
{
if (!ascii_isxdigit(p[0]) || !ascii_isxdigit(p[1])) {