diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2014-11-27 21:02:30 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2014-11-27 21:02:30 -0500 |
commit | 68cee4c28d6c309e18ae35eeba9d5dffaf1078ca (patch) | |
tree | 3f129ff50c55b72fb182b45df4c44212a837171c /src/nvim/misc2.c | |
parent | 5e4809f5a4ba4d3cc6a6cdea5f7ac632c73086ab (diff) | |
parent | ce5d6506ba0d8241dbee94aceb56ea53a6bd1ed9 (diff) | |
download | rneovim-68cee4c28d6c309e18ae35eeba9d5dffaf1078ca.tar.gz rneovim-68cee4c28d6c309e18ae35eeba9d5dffaf1078ca.tar.bz2 rneovim-68cee4c28d6c309e18ae35eeba9d5dffaf1078ca.zip |
Merge pull request #1492 from fwalch/fix-wconversion
Fix some more -Wconversion warnings.
Diffstat (limited to 'src/nvim/misc2.c')
-rw-r--r-- | src/nvim/misc2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/misc2.c b/src/nvim/misc2.c index acf243b349..bc65056b21 100644 --- a/src/nvim/misc2.c +++ b/src/nvim/misc2.c @@ -167,9 +167,9 @@ int csh_like_shell(void) * "*option" is advanced to the next part. * The length is returned. */ -int copy_option_part(char_u **option, char_u *buf, int maxlen, char *sep_chars) +size_t copy_option_part(char_u **option, char_u *buf, size_t maxlen, char *sep_chars) { - int len = 0; + size_t len = 0; char_u *p = *option; /* skip '.' at start of option part, for 'suffixes' */ |