From 5528903d01816a99313404672f96229798663a10 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 5 Jan 2011 20:16:32 +0000 Subject: * enc/{emacs_mule,euc_jp}.c (code_to_mbc): suppress warnings. * enc/iso_8859_{1,2}.c (apply_all_case_fold): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- enc/emacs_mule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'enc/emacs_mule.c') diff --git a/enc/emacs_mule.c b/enc/emacs_mule.c index be7f842259..246593b7eb 100644 --- a/enc/emacs_mule.c +++ b/enc/emacs_mule.c @@ -264,7 +264,7 @@ code_to_mbc(OnigCodePoint code, UChar *buf, OnigEncoding enc) if (enclen(enc, buf, p) != (p - buf)) return ONIGERR_INVALID_CODE_POINT_VALUE; - return p - buf; + return (int)(p - buf); } static int -- cgit v1.2.3