summaryrefslogtreecommitdiffstats
path: root/src/if_ruby.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-06-01 20:31:43 +0200
committerBram Moolenaar <Bram@vim.org>2016-06-01 20:31:43 +0200
commit9b0ac229bcfc91acabd35fc576055a94c1687c32 (patch)
treeabf68459f891591627c97c6358a8299a774e8970 /src/if_ruby.c
parent18dfb4404a618c52ee7138630a2381aed4d66eaf (diff)
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/if_ruby.c b/src/if_ruby.c
index 80ffa49d31..90e814ec12 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