diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-05-13 00:14:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-13 00:14:46 +0200 |
commit | af9c1e572dc1015b7b8f2a8a09d527f54ca080d3 (patch) | |
tree | a6e3279c3e56e24812644ffed88b7990a5e52244 /src/nvim/charset.c | |
parent | e2d3e73748f8dd4a6d7acbfda2d765d1a02dcfb8 (diff) | |
parent | 85aae12a6dea48621ea2d24a946b3e7b86f9014d (diff) | |
download | rneovim-af9c1e572dc1015b7b8f2a8a09d527f54ca080d3.tar.gz rneovim-af9c1e572dc1015b7b8f2a8a09d527f54ca080d3.tar.bz2 rneovim-af9c1e572dc1015b7b8f2a8a09d527f54ca080d3.zip |
Merge pull request #18489 from dundargoc/refactor/remove-char_u
refactor: replace char_u variables and functions with char
Diffstat (limited to 'src/nvim/charset.c')
-rw-r--r-- | src/nvim/charset.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/charset.c b/src/nvim/charset.c index 5b93973f54..4f6033cbfa 100644 --- a/src/nvim/charset.c +++ b/src/nvim/charset.c @@ -1187,16 +1187,16 @@ intptr_t getwhitecols(const char_u *p) /// @param[in] q String to skip digits in. /// /// @return Pointer to the character after the skipped digits. -char_u *skipdigits(const char_u *q) +char *skipdigits(const char *q) FUNC_ATTR_PURE FUNC_ATTR_WARN_UNUSED_RESULT FUNC_ATTR_NONNULL_ALL FUNC_ATTR_NONNULL_RET { - const char_u *p = q; + const char *p = q; while (ascii_isdigit(*p)) { // skip to next non-digit p++; } - return (char_u *)p; + return (char *)p; } /// skip over binary digits |