aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/env.c
diff options
context:
space:
mode:
authorScott Prager <splinterofchaos@gmail.com>2014-11-19 15:23:11 -0500
committerScott Prager <splinterofchaos@gmail.com>2014-11-27 14:38:26 -0500
commitf75de5e671699fbcff93bb9715916a02b5c7b37d (patch)
tree3b7966136f2bbe89c775e7845ec3b1e43c862382 /src/nvim/os/env.c
parentecf81c3f20e9f4e2c2a7d83195b8c0f71d09277d (diff)
downloadrneovim-f75de5e671699fbcff93bb9715916a02b5c7b37d.tar.gz
rneovim-f75de5e671699fbcff93bb9715916a02b5c7b37d.tar.bz2
rneovim-f75de5e671699fbcff93bb9715916a02b5c7b37d.zip
strings: Enable -Wconvert.
Diffstat (limited to 'src/nvim/os/env.c')
-rw-r--r--src/nvim/os/env.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/os/env.c b/src/nvim/os/env.c
index 3aefbc39d1..b2e62453c5 100644
--- a/src/nvim/os/env.c
+++ b/src/nvim/os/env.c
@@ -43,7 +43,7 @@ char *os_getenvname_at_index(size_t index)
if (str == NULL) {
return NULL;
}
- int namesize = 0;
+ size_t namesize = 0;
while (str[namesize] != '=' && str[namesize] != NUL) {
namesize++;
}