From 219467abde26543b8cab55a95db2c03c33cfc241 Mon Sep 17 00:00:00 2001 From: hsbt Date: Sat, 16 Jan 2016 01:51:58 +0000 Subject: * enc/unicode.c: fix implicit conversion error with clang. fixup r53548. * string.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- enc/unicode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'enc') diff --git a/enc/unicode.c b/enc/unicode.c index 2f45f2f88c..365283e591 100644 --- a/enc/unicode.c +++ b/enc/unicode.c @@ -630,5 +630,5 @@ onigenc_unicode_case_map(OnigCaseFoldType* flags, } to += ONIGENC_CODE_TO_MBC(enc, code, to); } - return to-to_start; + return (int)(to-to_start); } -- cgit v1.2.3