From b8574cdcffc656e5d6f8f613f6bad6e2f531e561 Mon Sep 17 00:00:00 2001 From: ko1 Date: Tue, 8 Dec 2015 14:06:13 +0000 Subject: * compile.c (iseq_ibf_dump): fix for clang type checker. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compile.c') diff --git a/compile.c b/compile.c index bd1497823d..fd0af93c76 100644 --- a/compile.c +++ b/compile.c @@ -8062,7 +8062,7 @@ iseq_ibf_dump(const rb_iseq_t *iseq, VALUE opt) if (RTEST(opt)) { VALUE opt_str = rb_check_string_type(opt); - header.extra_size = RSTRING_LEN(opt_str) + 1; + header.extra_size = (unsigned int)RSTRING_LEN(opt_str) + 1; ibf_dump_write(&dump, RSTRING_PTR(opt_str), header.extra_size); } else { -- cgit v1.2.3