diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-06-01 20:31:43 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-06-01 20:31:43 +0200 |
commit | 9b0ac229bcfc91acabd35fc576055a94c1687c32 (patch) | |
tree | abf68459f891591627c97c6358a8299a774e8970 /src/if_ruby.c | |
parent | 18dfb4404a618c52ee7138630a2381aed4d66eaf (diff) | |
download | vim-git-9b0ac229bcfc91acabd35fc576055a94c1687c32.tar.gz |
patch 7.4.1863v7.4.1863
Problem: Compiler warnings on Win64.
Solution: Adjust types, add type casts. (Ken Takata)
Diffstat (limited to 'src/if_ruby.c')
-rw-r--r-- | src/if_ruby.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/if_ruby.c b/src/if_ruby.c index 80ffa49d3..90e814ec1 100644 --- a/src/if_ruby.c +++ b/src/if_ruby.c @@ -733,7 +733,7 @@ vim_str2rb_enc_str(const char *s) vim_free(sval); if (enc) { - return rb_enc_str_new(s, strlen(s), enc); + return rb_enc_str_new(s, (long)strlen(s), enc); } } #endif |