1
0
forked from aniani/vim

patch 7.4.1863

Problem:    Compiler warnings on Win64.
Solution:   Adjust types, add type casts. (Ken Takata)
This commit is contained in:
Bram Moolenaar
2016-06-01 20:31:43 +02:00
parent 18dfb4404a
commit 9b0ac229bc
4 changed files with 11 additions and 8 deletions

View File

@@ -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