commit | 9b0ac229bcfc91acabd35fc576055a94c1687c32 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Wed Jun 01 20:31:43 2016 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Wed Jun 01 20:31:43 2016 +0200 |
tree | abf68459f891591627c97c6358a8299a774e8970 | |
parent | 18dfb4404a618c52ee7138630a2381aed4d66eaf [diff] [blame] |
patch 7.4.1863 Problem: Compiler warnings on Win64. Solution: Adjust types, add type casts. (Ken Takata)
diff --git a/src/if_ruby.c b/src/if_ruby.c index 80ffa49..90e814e 100644 --- a/src/if_ruby.c +++ b/src/if_ruby.c
@@ -733,7 +733,7 @@ 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