diff options
Diffstat (limited to 'src/nvim/charset.c')
-rw-r--r-- | src/nvim/charset.c | 2 |
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])) { |