aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/search.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-03-05 19:39:36 +0100
committerGitHub <noreply@github.com>2022-03-05 19:39:36 +0100
commitd557a4557100e3ab48a504dafcf53f544196595c (patch)
tree2440337b15c779ef5701d6d0830e24b7ac5cf689 /src/nvim/search.c
parent2de4d3c7ac0216b9c2f268116b4dd09a38663b7d (diff)
parentfff527b88de91b88db95143c470c3e9007dd443e (diff)
downloadrneovim-d557a4557100e3ab48a504dafcf53f544196595c.tar.gz
rneovim-d557a4557100e3ab48a504dafcf53f544196595c.tar.bz2
rneovim-d557a4557100e3ab48a504dafcf53f544196595c.zip
Merge pull request #17538 from dundargoc/refactor/bugprone-signed-char-misuse
refactor: fix clang-tidy bugprone-signed-char-misuse warnings
Diffstat (limited to 'src/nvim/search.c')
-rw-r--r--src/nvim/search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/search.c b/src/nvim/search.c
index 682fa417a9..e6b47e75b2 100644
--- a/src/nvim/search.c
+++ b/src/nvim/search.c
@@ -1071,7 +1071,7 @@ int do_search(oparg_T *oap, int dirc, int search_delim, char_u *pat, long count,
* Find out the direction of the search.
*/
if (dirc == 0) {
- dirc = spats[0].off.dir;
+ dirc = (char_u)spats[0].off.dir;
} else {
spats[0].off.dir = dirc;
set_vv_searchforward();