diff options
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 |