diff options
author | Famiu Haque <famiuhaque@proton.me> | 2025-01-01 19:45:14 +0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-01 07:45:14 -0600 |
commit | 9d114b720514b0bde96dbdd9b6ef328d232a1589 (patch) | |
tree | 6f0dacc350b3d5a4a987cb5ab38073bbe2b8e10d /src/nvim/mapping.c | |
parent | 59cbe640233eeb6ae96231e059449e73e15f9ea5 (diff) | |
download | rneovim-9d114b720514b0bde96dbdd9b6ef328d232a1589.tar.gz rneovim-9d114b720514b0bde96dbdd9b6ef328d232a1589.tar.bz2 rneovim-9d114b720514b0bde96dbdd9b6ef328d232a1589.zip |
refactor(options): use `const` in more places (#31791)
Diffstat (limited to 'src/nvim/mapping.c')
-rw-r--r-- | src/nvim/mapping.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/mapping.c b/src/nvim/mapping.c index d29a2c8e43..ca0349d1f6 100644 --- a/src/nvim/mapping.c +++ b/src/nvim/mapping.c @@ -1901,7 +1901,7 @@ int makemap(FILE *fd, buf_T *buf) // "what": 0 for :map lhs, 1 for :map rhs, 2 for :set // // return FAIL for failure, OK otherwise -int put_escstr(FILE *fd, char *strstart, int what) +int put_escstr(FILE *fd, const char *strstart, int what) { uint8_t *str = (uint8_t *)strstart; |